home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr14 / text_ref.zip / OS2.TXT < prev    next >
Text File  |  1995-01-19  |  113KB  |  2,457 lines

  1.                          Computer Help References
  2.                              version 1.19.95
  3.  
  4. ────────────────────────────────────────────────────────────────────────────
  5.                                 O  S  /  2
  6. ────────────────────────────────────────────────────────────────────────────
  7.  
  8. As new information is added, it will appear at the beginning of each
  9. specific section.  All new information will have the date it was added in
  10. the header.  If you find something you've read before that is marked as a
  11. new addition, it is due to a correction, or addition to that topic.
  12.  
  13. ────────────────────────────────────────────────────────────────────────────
  14.  
  15. Making IDE CD-ROM Drives Work
  16. =============================
  17. -> Added on January 3, 1995
  18.  
  19. Even if you use the brand new IDE CD-ROM drivers for OS/2, you still may not
  20. be able to access the CD-ROM after installation is complete.  Here's IBM's
  21. official fix:
  22.  
  23. After OS/2 is installed, edit the CONFIG.SYS to include
  24.  
  25. DEVICE=C:\OS2\OS2CDROM.DMD
  26. IFS=C:\OS2\CDFS.IFS
  27.  
  28. You might have to copy those two files from one of the install disks.  Those
  29. two lines got the CD recognized on my system.
  30.  
  31. * Jon Simola @ 1:342/74
  32.  
  33. ────────────────────────────────────────────────────────────────────────────
  34.  
  35. OS/2 2+ CONFIG.SYS File Description
  36. ===================================
  37. -> Added on January 3, 1995
  38.  
  39. Attention Power Users!
  40.  
  41. I currently run a 486 66 with 16 meg of ram (I just dropped down from 20) 
  42. with an enhanced IDE controller.  The tips revolve around a system of similar 
  43. ram and capabilities with notes for other configurations.  I run WARP.
  44.  
  45. UPDATE: 3
  46.  
  47. What follows are a collaboration of several people.  I would like to thank 
  48. Bob Hess and Glenn Reimche for their additional tips.
  49.  
  50. 1)  IFS=C:\OS2\HPFS.IFS /CACHE:2048 /CRECL:64 /AUTOCHECK:CD
  51.     Only include this line if you actually have a partition formatted HPFS
  52.     rather than FAT.  If you are strictly FAT, rem this line out.  HPFS eats
  53.     a chunk of memory--particularly on low memory systems--[BH]
  54.  
  55.     If one runs both FAT and HPFS, don't go excessive with the cache settings.
  56.     Give more to the most commonly used file system.--[CJ]
  57.  
  58. 2)  Removed IBM2FLPY.ADD  (saved me some memory)--[CJ]
  59.     Only needed on Microchannel PC's.--[manual]
  60.  
  61. 3)  Removed XDFLOPPY.FLT
  62.     It appears that many people would have no use for this--[GR]
  63.  
  64.     If one wants to use selective install from diskettes, this needs to be
  65.     reenabled.  You can save a little mem without it.--[CJ]
  66.  
  67. 4)  SET RESTARTOBJECTS=STARTUPFOLDERSONLY
  68.     If you have an annoying program that won't shutdown, when you reboot it
  69.     is likely to still be running.  This will only run, at bootup, those
  70.     programs in the startup folder--[CJ]
  71.  
  72. 5)  SET KEYS=OFF
  73.     This saved me a little memory--[CJ]  Preference here, if you like
  74.     recalling past commands, you may want to consider leaving it ON.
  75.  
  76. 6)  PRIORITY_DISK_IO=YES
  77.     When my BBS is up or I'm doing intensive communications I prefer NO--[CJ]
  78.  
  79. 7)  FILES=30
  80.     For DOS sessions.  The default is fine.  I just have the memory to waste
  81.     and some DOS programs get a little finicky for some reason--[CJ]
  82.  
  83. 8)  BUFFERS=90
  84.     Good for bringing up those icons when using the drives objects.  Helps
  85.     out the floppy access.  Of course, on good memory systems this is
  86.     acceptable.  If one has lower memory, consider 60 at 8 meg and no more
  87.     than 30 for smaller configurations--[CJ]
  88.  
  89. 9)  MAXWAIT=2   (consider (1) when multitasking comm programs)
  90.     Things are a little more responsive.  When my BBS is up I use 1.  I also
  91.     found that I removed all forms of ZERRORS when I was multitasking with
  92.     Livewire 2.2 when I used MAXWAIT=1--[CJ]
  93.  
  94. 10)  RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  95.      Check it out.  It's going to be a seat of the pants feel--[CJ]
  96.  
  97. 11)  SWAPPATH=C:\OS2\SYSTEM 2048 8192
  98.      This is personal preference.  I saw mine go to 8 once--[CJ]
  99.  
  100.      In the book OS/2 unleashed it states, "This is not the optimal location
  101.      for the <swapper.dat> file.  The swap file should be moved to the root
  102.      directory of the most frequently used partition of the least used hard
  103.      drive."--[BH]
  104.  
  105.      I personally think this advice is only good if one has 2 or more
  106.      physically different drives.  Don't confuse this with partitions.  I saw
  107.      no improvement on just one drive partitioned out to two drives.  The
  108.      theory is that the heads on the other drive will already be placed on
  109.      the swap file.  That is why it makes no use on one drive--[CJ]
  110.  
  111. 12)  THREADS=512
  112.      I have the memory to waste.  Threads don't take an alarming amount of
  113.      memory so I chose 512 for that RARE moment.  Most users will find that
  114.      256 is more than sufficient for them down to 8 megs.  Below 8 one should
  115.      consider the default values or around 128-[CJ]
  116.  
  117. 13)  PRINTMONBUFSIZE=2048,134,134
  118.      Awesome!  Anything lower than 16 megs should consider 1024 or 512.
  119.      Experiment with this one and see how it impacts printer performance
  120.      versus system performance.  I use an EPSON Laserjet.--[CJ]
  121.  
  122. 14)  FCBS=4,2
  123.      FCBS is an old cow.  I save a little memory by reducing the value.--[CJ]
  124.  
  125. 15)  I REM'd out all references to TCPIP as I don't have a local provider
  126.      and saved a sizeable amount of memory.--[CJ]
  127.  
  128. 16)  I REM'd out the reference to DISKCACHE as I don't run FAT.  Saved 2 meg 
  129.      when I was at 20meg on the system due to the "D" switch being enabled.
  130.      --[CJ]
  131.  
  132. As you can see, I scrunched memory where I could and placed it in areas that
  133. are starving for it, ie CACHE, BUFFERS, PRINTMONBUFSIZE, ETC...
  134.  
  135. System Information says I have 4.2 meg allocated to OS/2 and the rest is
  136. available.  Before I did the fine tuning, I had 7.5 meg allocated to OS/2.
  137.  
  138. [This advice should be good for 16 meg machines.  On 12 meg machines, I would
  139. consider bringing down the THREADS and CACHE a notch.  On 8 meg machines I
  140. would go no more than 1024 cache and 256 threads.]--[CJ]
  141.  
  142. As you can see, once you do some fine tuning, there is very little left for
  143. you to do.  That is the beauty of OS/2.  Do some changes and leave it alone!
  144. Don't get caught up running benchmarks everyday like you used to do in the
  145. DOS days.  There is very little you can do to make it your dream screamer
  146. without purchasing that Pentium 100 you always wanted! <G>  Have fun and be
  147. productive.
  148.  
  149. If this helps out anyone out, let me know!
  150.  
  151. Also, if anyone wants to add some advice, feel free to email me the info.
  152. This advice isn't gospel, but it is the collaboration of several people on
  153. this net.  I will compile the advice and give updates as people we haggle,
  154. discuss, and come to terms on certain performance issues.
  155.  
  156. Discussion does not need to be limited to Config.sys.  Desktop folder
  157. settings could be added too.
  158.  
  159. * Chris Johnson @ 1:208/610
  160.  
  161. ────────────────────────────────────────────────────────────────────────────
  162.  
  163. OS/2 2+ CONFIG.SYS File Description
  164. ===================================
  165. -> Added on December 12, 1994
  166.  
  167. ** NOTE:  This file has been heavily edited from the original format.  Any
  168.           references to programs to be used with this text will not work!
  169.           Also, there may be places where lines have been trimmed to fit into
  170.           the 79 columns available.  For any critical information, or if you
  171.           would like the exact original, you are advised to find the original 
  172.           archive available on almost any OS/2 Bulletin Board System.
  173.  
  174. **  My sincere apologies to Rick Meigs for re-formatting his documentation,
  175.           but it fits the scope of "Computer Help References" better in this
  176.           format presented to you here.  All information was kept the same,
  177.           except in places where "trimming" was needed.  An example is some
  178.           of the "PATH=" lines have been trimmed and ended with " ..." to
  179.           indicate that something is missing.  This is all the more reason to
  180.           obtain the original.
  181.                               
  182. OS/2 2+ CONFIG.SYS FILE DESCRIPTION  -  Version 9 - Nov. 25, 1994
  183.  
  184. by Rick Meigs, 7032 SW 26th Street, Portland, OR, 97219 - rick.meigs@nwcs.org
  185.  
  186. CAUTION, WARNING AND DISCLAIMER.                               
  187.  
  188. <<=CAUTION=>>  Because of the way in which OS/2s Enhanced PM editor (EPM.EXE)
  189. handles word wrapping and its restricted line length, using it to edit your
  190. CONFIG.SYS file is unwise.  For best results, use OS/2s System Editor (E.EXE)
  191.   
  192. <<=WARNING=>> If you plan on changing any line in your current CONFIG.SYS
  193. file, please be sure to create a backup --BEFORE-- you start experimenting!
  194. This has saved me more than once.  Remember, make the backup --BEFORE-- you
  195. change your CONFIG.SYS file.  If you are viewing this information using
  196. CNFGINFO.EXE, use its backup option before you proceed any further.
  197.   
  198. A procedure for restoring a damaged CONFIG.SYS is included at the end of this
  199. complete section.
  200.  
  201. <<=DISCLAIMER=>>  I CAN'T BE RESPONSIBLE FOR WHAT YOU DO WITH YOUR SYSTEM OR
  202. YOUR CONFIG.SYS FILE BASED UPON WHAT YOU MAY LEARN FROM THE INFORMATION
  203. PROVIDED IN THIS FILE.  EVERY EFFORT HAS BEEN MADE TO MAKE THIS FILE AS
  204. ACCURATE AS POSSIBLE, BUT NO WARRANTY OR FITNESS IS IMPLIED.  THE INFORMATION
  205. IS PROVIDED ON AN "AS IS" BASIS.  USE IT AT YOUR OWN RISK.
  206.   
  207. COMMENTS.                                                        
  208.  
  209. This whole process started in 1992 when I began researching what many of the
  210. CONFIG.SYS file commands were for.  This ever growing file is the result of
  211. that ongoing research.  It briefly describes most of the common and some of
  212. the more obscure commands.  Naturally, not all possible commands are listed
  213. (especially the many hardware device drivers), but there is a lot here for
  214. you to work with.  Version 6 was the first version updated for OS/2 2.1 and
  215. version 9 was the first updated for OS/2 Warp.
  216.  
  217. Even with all the hours I've put into this description, I still find the
  218. CONFIG.SYS file to be somewhat of a mystery.  Still, mystery or not, to get
  219. the most out of OS/2 and your system you just may need to spend a little time
  220. editing your CONFIG.SYS.
  221.  
  222.  ----------------- IMPORTANT NOTE AND WARNING --------------------
  223.  
  224. Unlike the DOS CONFIG.SYS file which is read sequentially, OS/2 reads the
  225. entire file before it invokes the commands listed.  Therefore, except for
  226. several exceptions which have been noted, it really doesn't matter where a
  227. command is placed.  On several of the "nets" and in a file called
  228. CNFGSORT.ZIP it has been suggested that if you organize your CONFIG.SYS file
  229. in a certain way, you can significantly shorten the boot time of OS/2.  I
  230. find this sorting to be of little or no help for the vast majority of OS/2
  231. users.  Further, you can cause yourself problems if you do it incorrectly.
  232. So be very careful and have a backup CONFIG.SYS file ready.
  233.  
  234. THE PROGRAM CNFGINFO.EXE
  235.   
  236. I'm really not much of a programmer, but I have written a program called
  237. CNFGINFO.EXE which allows you to analysis your own CONFIG.SYS file.  After it
  238. reads in your CONFIG.SYS file, you just point and click on any line and
  239. information from this file is displayed.  It also will backup, edit and print
  240. your CONFIG.SYS file.  You can also print this file.  Its Freeware (that
  241. means you can use it at no cost and pass it on to your friends), but its not
  242. in the public domain.  The "" symbols are used by CNFGINFO, so please do not
  243. remove them from this file.  The latest version of CNFGINFO.EXE can be
  244. downloaded as CFGINFO3.ZIP from the same BBS where you found this file.  This
  245. version fixes several bugs, including the one which would not allow you to
  246. load any CONFIG.SYS file from a drive other than "C".  Many additional
  247. features have also been added.
  248.  
  249. ** NOTE:  This file has been edited ... and therefore will -> NOT <- work
  250. **        with Rick Meigs' CFGINFO3 program.  Please obtain the ORIGINAL if
  251. **        you would like to use this excellent program!
  252.  
  253. BEGINNING OF CONFIG.SYS FILE DESCRIPTION
  254.  
  255. The order of this description area generally follows that of a "standard"
  256. CONFIG.SYS file.
  257.  
  258. CALL=C:\OS2\XCOPY.EXE C:\OS2\INSTALL\*.BK1 C:\OS2\INSTALL\*.INI /T /R /O
  259. CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\INSTALL\*.BK1 /T /R /O
  260.   
  261. Two files are essential to the operation of OS/2:  OS2.INI and OS2SYS.INI.
  262. If these files should get trashed, OS/2 isn't going to function.  Backing
  263. them up is very important.  In OS/2 version 2.0, once booted, OS/2 will not
  264. let you access or copy these critical files.  One way to circumvent this is
  265. to create your backups BEFORE OS/2 is booted.  This CALL will do the trick.
  266. It creates first a backup of your backup and then creates a backup of the
  267. original files.  This gives you a two generation backup.  This process will
  268. add time to your system boot.
  269.   
  270. Generally OS/2 does not care where you place something in the CONFIG.SYS
  271. file.  This CALL is an exception in version 2.0.  It must appear before any
  272. other line because you need to complete this backup process before OS2.INI
  273. and OS2SYS.INI load.  
  274.  
  275. <<=NOTE=>>  In version 2.1, the INI files can be copied after the system is
  276. booted by using OS/2s COPY command, but you may wish to consider adding this
  277. CALL to your CONFIG.SYS file to automate the process.
  278.    
  279. <<=NOTE=>>  In OS/2 Warp, IBM provides a archive feature which can be
  280. activated by opening your Desktop settings, click on the Archive Tab, and
  281. then click on "Create archive at every system restart".  You do not need this
  282. CALL if you use this archive feature.
  283.  
  284. <<=TIP=>>  OS2.INI and OS2SYS.INI can also be reconstructed at boot by
  285. holding down Alt-F1 during boot BEFORE the OS/2 logo appears.  You may need
  286. to hold the keys down for at least 20 seconds.  During your initial
  287. installation of OS/2, the installation process stored a copy of its original
  288. INI files in the folder called INSTALL.  When you press Alt-F1 at boot, OS/2
  289. moves these "backup" files into the OS/2 folder to replace the current
  290. versions.  The "CALL" shown above keeps the INI files in your INSTALL folder
  291. current.
  292.   
  293. <<=WARNING=>>  If you are using a version of OS/2 before Warp, use the Alt-F1
  294. key combination as a last resort because you may lose all customizing and
  295. changes you have made to the WpS.
  296.   
  297. <<=NOTE=>>  The switches used mean the following:
  298.       /T  -- allows xcopying of files with System attribute
  299.       /R  -- allows xcopying of files with Read-only attribute
  300.       /O  -- allows xcopying *onto* a file which has System,
  301.              Read-only, or Hidden attribute.
  302.  
  303. Thanks to Melissa Woo for pointing out the need for these switches.
  304.  
  305. IFS=C:\OS2\HPFS.IFS /CACHE:512 /CRECL:4 /AUTOCHECK:CD
  306.    
  307. IFS stands for "Installable File System".  This OS/2 command installs the
  308. High Performance File System (HPFS).  The syntax is the following format ...
  309.  
  310.      IFS=DRIVE:PATH\FILENAME,SWITCHES.
  311.  
  312. There are three switches:
  313.   
  314. /CACHE:nnn sets up a disk cache and its size.  The default on most systems
  315. (shown in Table 1.0 below) is low in my opinion.  
  316.   
  317. <<=TIP=>>  Change the size of your disk cache based upon the information
  318. provided in Table 1.1 below.  This great stuff was provided by Proportional
  319. Software based upon a great deal of OS/2 system tweaking done by the DCF/2
  320. development team.  
  321.   
  322. <<=Warning=>>  Keep this one truth in mind about cache size: an excessive
  323. cache takes memory available for programs and therefore could have a negative
  324. impact on overall system performance.  For example, if you set a 2MB cache on
  325. a 6MB system, you will notice a substantial negative performance hit.  
  326.   
  327. OS/2s Command Reference and other IBM sources indicate that the maximum cache
  328. size for HPFS is currently 2MB (2048), but IBM does not recommend using a
  329. cache larger than 1.5MB (1536).  Personally, I have 16MB of RAM and have my
  330. HPFS cache set to the max:  2048.
  331.   
  332. If this switch is omitted, the default is 10% of the available RAM.
  333.   
  334.  ========================== Table 1.0 ===========================
  335.   
  336. If you have formatted your system with only HPFS partitions, the cache size
  337. in this statement, as set by OS/2 during installation, is that noted under
  338. ONE FILE SYSTEM in the table below.  If you have both FAT and HPFS
  339. partitions, then OS/2 sets the cache sizes to those noted under TWO FILE
  340. SYSTEM.  The file system which uses the greatest amount of your disk space
  341. gets the larger default value.
  342.   
  343.    MEMORY SIZE IN MB         TWO FILE SYSTEM       ONE FILE SYSTEM
  344.         4                       128/64                  128
  345.         5                       128/64                  128
  346.         6                       256/64                  256
  347.         7                       256/128                 256
  348.         8                       256/256                 384
  349.         9                       256/256                 384
  350.         10 - 16                 512/512                 1024
  351.         17 - 32                 1024/1024               2048
  352.   
  353.  ========================== Table 1.1 ===========================
  354.   
  355. You can get better performance from your system by using your available RAM
  356. in the most efficient and effective way.  Select the case that best describes
  357. the file system or amount of RAM you use. 
  358.   
  359. CASE 1:  You use only HPFS or only FAT, but not both.           
  360.   
  361.                                    HPFS only!            FAT only!
  362.  System memory of at least:       Set CACHE to:      Set DISKCACHE to:
  363.   
  364.                      16 MB            2048                 2048
  365.                      12 MB            1536                 1536
  366.                       8 MB            1024                 1024
  367.   
  368. CASE 2:  You use both HPFS and FAT with HPFS active and FAT passive.
  369.   
  370.  System memory of at least:       Set CACHE to:    Set DISKCACHE to:
  371.   
  372.                      16 MB            2048            512 -1024
  373.                      12 MB            1536            256 - 512
  374.                       8 MB            1024            128 - 256
  375.   
  376. CASE 3:  You use both HPFS and FAT with HPFS passive and FAT active.
  377.   
  378.  System memory of at least:       Set CACHE to:    Set DISKCACHE to:
  379.                      
  380.                      16 MB            1024                 2048
  381.                      12 MB             768                 1536
  382.                       8 MB             512                 1024
  383.  
  384. <<=NOTE=>>  For purposes of the table above, "active" and "passive" are
  385. descriptors for the way a partition is used.  If it is seldom used, it is
  386. "passive."  If a lot of disk intensive I/O occurs on the partition, it is
  387. "active."
  388.  
  389. /CRECL sets the maximum record size for caching, from 2k to 64k in multiples
  390. of 2k with a default of 4k.  This parameter may not exceed 1/4 of the total
  391. cache size set with the /cache parameter.
  392.  
  393. /AUTOCHECK:nn tells the system to run CHKDSK and sets the drives to be
  394. checked at start up.
  395.  
  396. <<=WARNING=>> If you don't include the AUTOCHECK switch in this command, the
  397. system will not boot.
  398.  
  399. <<=TIP=>>  If you are using only FAT partitions, then you should REM this IFS
  400. statement and save yourself some RAM.  How much?  I've seen figures from 130k
  401. to 500k, but the HPFS.IFS file is 136k in size.
  402.  
  403. <<=TIP=>>  If you have drive partitions larger than 80MB, then HPFS should
  404. give you better performance than FAT.  On partitions of less than 80MB, most
  405. authorities indicate that there is only a small performance difference
  406. between HPFS and FAT.  Consider the following when comparing the relative
  407. merits of the HPFS versus FAT:  On large partitions of identical size, the
  408. HPFS will generally give you about 15% more space and improve performance by
  409. about 28% (Information provided by Proportional Software).
  410.  
  411. <<=NOTE=>>  Lazy write is on by default.  If you want lazy write off, see the
  412. RUN=C:\OS2\CACHE.EXE command later in this file.
  413.  
  414. PAUSEONERROR=YES
  415.    
  416. This command tells OS/2 to pause after it finds any error in your CONFIG.SYS
  417. and displays an error message.  If you don't include this statement in your
  418. CONFIG.SYS file, the default will be YES.  This is generally the best choice
  419. since the error message will appear and scroll off the screen so quickly with
  420. a NO setting that you may not notice it.
  421.  
  422. PROTSHELL=C:\OS2\PMSHELL.EXE
  423.    
  424. This OS/2 command tells OS/2 what program you want to use as the protect mode
  425. shell (the program that determines what your user interface looks like and
  426. how it operates.)  This is the first program OS/2 will execute.  PMSHELL.EXE
  427. is the program which initializes OS/2 Presentation Manager.  If you delete
  428. this line from your CONFIG.SYS file, OS/2 will load PMSHELL.EXE by default.
  429.  
  430. <<=NOTE=>>  There are at least two alternatives to PMSHELL.EXE.  One is OS/2s
  431. own CMD.EXE.  If you replace PMSHELL.EXE with CMD.EXE, you will get a full
  432. screen OS/2 session only and will not be able to run PM programs.  A second
  433. alternative is TSHELL.EXE.  TSHELL is a text-based, protected-mode shell for
  434. OS/2.  Any one remember OS/2 1.x? TSHELL makes OS/2 look something like OS/2
  435. 1.0.  OS/2 1.0 did not have a graphical user interface.  
  436.  
  437. With TSHELL you can start and switch full-screen sessions only.  These can be
  438. OS/2, DOS, or WINOS2 sessions depending on your systems configuration.  You
  439. use Alt+Esc to switch around sessions and Ctrl+Esc to pop up the task list.
  440. But please note, like OS/2 1.0, there is no Presentation Manager. Thus, OS/2
  441. PM applications will not work.  You can download TSHELL.ZIP from most OS/2
  442. BBSs.
  443.  
  444. SET COMMAND:  The SET command in the CONFIG.SYS file sets up environment
  445. variables for the entire system.  These environment variables are stored by
  446. OS/2 in memory and are shared by any applications which calls on them.    
  447.  
  448. <<=TIP=>>  If you want to see what variables are set in your system, at an
  449. OS/2 command prompt type the word SET and press <enter>.  You'll get a list
  450. like the following:
  451.  
  452.      WP_OBJHANDLE=87103
  453.      USER_INI=C:\OS2\OS2.INI
  454.      SYSTEM_INI=C:\OS2\OS2SYS.INI
  455.      OS2_SHELL=C:\OS2\CMD.EXE
  456.      AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  457.      RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  458.      COMSPEC=C:\OS2\CMD.EXE
  459.      PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL ...
  460.      DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL ...
  461.      PROMPT=$E[1;33m[$P]$G
  462.      HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  463.      GLOSSARY=C:\OS2\HELP\GLOSS;
  464.      DIRCMD=/ON /P
  465.      IPF_KEYS=SBCS
  466.      KEYS=OFF
  467.      SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;C:\OS2\ETC\WPDSERV.IR;SOM.IR
  468.      SOMDDIR=C:\OS2\ETC\DSOM
  469.      BOOKSHELF=C:\OS2\BOOK;C:\MMOS2;D:\VXREXX
  470.      EPMPATH=C:\OS2\APPS;
  471.      VIDEO_DEVICES=VIO_SVGA
  472.      VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  473.      ZOCDEVICE=COM4
  474.      MMBASE=C:\MMOS2;
  475.      DSPPATH=C:\MMOS2\DSP;
  476.      NCDEBUG=4000
  477.      VXREXX=D:\VXREXX
  478.      WORKPLACE__PROCESS=NO
  479.  
  480. SET USER_INI=F:\OS2\OS2.INI
  481.  
  482. Tells OS/2 the name and locations of the file that contains your desktop
  483. setup information and the options saved from various OS/2 applications.
  484. OS2.INI is the default file name.
  485.  
  486. <<=NOTE=>>  OS2.INI is a critical file for the proper operation of OS/2 and
  487. should not be deleted or modified.  It is not an ASCII file and, if it should
  488. become damaged, cannot be modified with an ASCII editor.  You should consider
  489. backing up this file by using the CALL lines shown above or with a program
  490. such as WPSBKUP.  It is one of several shareware programs design for this
  491. purpose.  Check your favorite OS/2 BBS.  You can also use MAKEINI.EXE, which
  492. ships with OS/2, to build a new set of INI files.  See your OS/2
  493. documentation on how to do this.
  494.  
  495. SET SYSTEM_INI=G:\OS2\OS2SYS.INI
  496.  
  497. Tells OS/2 the name and location of OS2SYS.INI.  This file tells OS/2 what
  498. kind of equipment your system uses.  NOTE: OS2SYS.INI is a critical file and
  499. should not be deleted or modified.  It is not an ASCII file.  You should
  500. consider backing up this file by using the CALL line shown as the first line
  501. above or with a program such as WPSBKUP, a shareware program you can obtain
  502. on many OS/2 BBSs.  You can also use MAKEINI.EXE, which ships with OS/2, to
  503. build a new set of INI files.  See your OS/2 documentation on how to do this.
  504.  
  505. This file remains open the entire time OS/2 is booted and operating.  It only
  506. closes upon shut down.  If it should become "trashed", MAKEINI.EXE, which
  507. ships with OS/2 and is in the OS2 directory, can be used to build a new set
  508. of INI files.  You will have to boot from an OS/2 floppy to do so.
  509.  
  510. SET OS2_SHELL=D:\OS2\CMD.EXE
  511.   
  512. OS2_SHELL directs OS/2 to load the command line shell (CMD.EXE) when you ask
  513. for an OS/2 command line from the WpS.
  514.  
  515. <<=WARNING=>>  Be careful with this line, OS/2 will not start without it.
  516.   
  517. <<=TIP=>>  If you wish to run some other command line shell, such as 4OS2,
  518. change this line and the SET COMSPEC=C:\OS2\CMD.EXE line, substituting the
  519. appropriate EXE file for CMD.EXE.
  520.  
  521. <<=TIP=>>  If you have a need to have a .CMD file invoked when you launch any
  522. OS/2 full screen or windowed session, just as AUTOEXEC.BAT is invoked for DOS
  523. sessions, modify this command line as shown below and it will cause
  524. AUTOEXEC.CMD to be invoked each time you start an OS/2 session.
  525.  
  526.      SET OS2_SHELL=C:\OS2\CMD.EXE /k C:\AUTOEXEC.CMD
  527.  
  528. You can choose any file name you wish for the CMD file.  AUTOEXEC.CMD is used
  529. just as an example.
  530.  
  531. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS,LAUNCHPAD
  532.   
  533. The AUTOSTART command contains a list of WpS components which will be started
  534. (or restarted) when the system is booted up.  There are currently four
  535. possible options:
  536.  
  537.  PROGRAMS:  Tells OS/2 to start applications, that were running when the
  538.              system was shut down, to restart.  This option will be ignored
  539.              if SET RESTARTOBJECTS=NO.
  540.  
  541.  TASKLIST:  This parameter enables the OS/2 task list that appears when you
  542.              press Ctrl+Esc.  Why this parameter is available I don't know,
  543.              because even when removed, I have still been able to press
  544.              Ctrl+Esc and get the task list.  Oh well, another OS/2 mystery.
  545.  
  546.  FOLDERS:   Opens the desktop and any other folder which was open when the
  547.              system was shut down.  
  548.  
  549.             <<=WARNING=>>  If you remove the FOLDERS statement, OS/2 will
  550.                             NOT open your desktop (which is a folder).  
  551.              
  552.  CONNECTIONS:  This parameter restarts any network connections that were in
  553.              use when the system was shut down.  
  554.  
  555.             <<=NOTE=>>  This parameter can be removed if your system is not
  556.                          connected to a network.  Leaving it in your
  557.                          CONFIG.SYS file will NOT cause any problems.
  558.  
  559.  LAUNCHPAD:  Restarts the new Lauchpad supplied with Warp.
  560.  
  561. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  562.   
  563. This line tells the system what interface program is to be used.  In this
  564. case it is the Workplace Shell.
  565.   
  566. <<=TIP=>>  If you want to run OS/2 with only a command line interface,  you
  567. can do so by changing this line to read SET RUNWORKPLACE=C:\OS2\CMD.EXE
  568. This brings OS/2 up without the WpS and gives you one screen session.  You
  569. can start other sessions using the START or DETACH command.  Otherwise,
  570. operated just like you were in DOS.  If you have started more than one
  571. session, switch between them using Alt+Esc.  For those who want the power of
  572. OS/2 and like to work only from a command line, give this a try.  I'm running
  573. in this mode as I write this as a test and it appears to work fine.
  574.   
  575. This is also a way to improve performance on 4MB RAM systems, since the WpS
  576. take up LOTS of ram.  When running without the WpS, I generally free up from
  577. 4 to 5 megs of RAM on my 16MB system.
  578.   
  579. <<=WARNING=>>  You can't perform a "shut down" from a command line.  To do a
  580. shut down type PMSHELL and press enter.  This starts the WpS.  Once the WpS
  581. is open, you should be able to perform a standard shut down.  You can also
  582. download one of several shut down programs available on most OS/2 specific
  583. BBSs.  I use one called SHUT32.ZIP.
  584.  
  585. <<=TIP=>>  MSHELL.EXE is another alternative.  It is a simple mini shell for
  586. OS/2 that uses the replaceable shell architecture of the WpS.  MSHELL is a
  587. program launcher which provides one list of programs to start.  This list can
  588. be modified by creating a plain text file called MSHELL.INI.  In addition to
  589. starting programs, MSHELL can save the desktop, interact with the spooler,
  590. and do a system shut down.
  591.  
  592. MSHELL is IBM Employee Written Software and can be downloaded from most OS/2
  593. specific BBSs or ftp.cdrom.com
  594.  
  595. SET RESTARTOBJECTS=YES
  596.   
  597. This command tells OS/2 what applications to start after you suspend
  598. operations with or without doing a shut down.  If this statement is not in
  599. your CONFIG.SYS, then the default is YES, i.e., start all objects that were
  600. running at the time of shut down or reboot.  Other options are:
  601.  
  602.   NO = do not start any applications that were running at time of shut down
  603.         or reboot.  
  604.   
  605.   STARTUPFOLDERSONLY = start objects only in the Startup folder.  This
  606.         parameter is also handy for another purpose.  Lets assume you have
  607.         one or more programs in your Startup folder and do a shut down
  608.         without closing those programs.  If you have Restartobjects set to
  609.         yes, OS/2 will restart the programs left open AND the Startup folder
  610.         will start another copy of the same programs.  Thus you will have two
  611.         copies running.  Using this parameter eliminates this.
  612.  
  613.   REBOOTONLY = Start objects only if the OS/2 WpS is starting from a reboot
  614.         (Ctrl-Alt-Del) or at power on.  Objects will not restart if the WpS
  615.         is restarted as a result of its own error correction recycling.
  616.   
  617. <<=TIP=>>  You can also circumvent the auto-starting of programs by holding
  618. down Left/Ctrl-Left/Shift-F1 all at the same time during boot.  It must be
  619. done right after the clock appears just before the desktop loads, but before
  620. any icons appear.
  621.  
  622. SET COMSPEC=C:\OS2\CMD.EXE
  623.   
  624. This line identifies what OS/2 command line shell is to be used and its
  625. location.  In DOS, COMMAND.COM is equivalent to CMD.EXE.  
  626.  
  627. <<=TIP=>>  If you wish to run some other command line shell, such as 4OS2,
  628. change this and the SET OS2_SHELL=C:\OS2\CMD.EXE line, substituting the
  629. appropriate EXE file for CMD.EXE.
  630.  
  631. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  632.   
  633. Tells OS/2 where to locate Dynamic Link Libraries (DLLs).  LIBPATH is similar
  634. to DPATH and PATH, but the statement can only be used in the CONFIG.SYS file
  635. and OS/2 does not search the current directory for DLLs unless you include it
  636. in the LIBPATH statement.  You don't need to use the SET command with
  637. LIBPATH.  It is not an environment variable.
  638.  
  639. <<=TIP=>>  To reduce the search time, be sure that the various PATH
  640. statements contain the correct path to your program and other files.  You can
  641. also have OS/2 search the current directory by including a period "." right
  642. after the equal "=" symbol.  This causes OS/2 to look in the current logged
  643. directory first.
  644.  
  645. One final item that will reduce search time:  Be certain that the PATH,
  646. LIBPATH and DPATH statements in the CONFIG.SYS are arranged with the most
  647. frequently accessed sub directories listed first. 
  648.  
  649. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL; ...
  650.   
  651. Just like in DOS, it tells OS/2 where to find programs.  For DOS sessions,
  652. set the PATH in your AUTOEXEC.BAT file.  
  653.  
  654. <<=WARNING=>>  Your path statement should contain at least the following
  655. directories:  \OS2, \OS2\MDOS, \OS2\SYSTEM.
  656.  
  657. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL; ...
  658.   
  659. This is an OS/2 command.  It tells OS/2 programs where to look for data
  660. files.  It is similar to the DOS APPEND command, but unlike APPEND, DPATH
  661. only works with programs designed to use it.
  662.  
  663. SET PROMPT=[$P]$G
  664.  
  665. Like the same DOS command, this line sets how your OS/2 command prompt will
  666. appear.  (This is for OS/2 only.  Set the DOS PROMPT default in your
  667. AUTOEXEC.BAT file.)  In the setting shown here, the command prompt will
  668. appear showing the current directory of the default drive enclosed in []
  669. followed by the greater than symbol, i.e. [C:\]>.  Having brackets [] around
  670. the drive and directory information lets you quickly know when you are at an
  671. OS/2 command line verse a DOS command line.  
  672.  
  673. If you type PROMPT without a parameter, OS/2 will return its default prompt.
  674.  
  675. Options include:
  676.  
  677.      $B = The | character
  678.      $C = The open parenthesis (
  679.      $D = Current date
  680.      $E = ASCII code 27 (escape) so you can work with ANSI - see below!
  681.      $F = The close parenthesis )
  682.      $G = The "greater than" > symbol
  683.      $H = BACKSPACE over the previous character
  684.      $I = Turns help line on
  685.      $L = The "less than" < character
  686.      $N = Default drive
  687.      $P = Current directory of default drive
  688.      $Q = The equal = character
  689.      $S = The space character
  690.      $T = Current time
  691.      $V = OS/2 version number
  692.      $_ = Carriage return or line feed
  693.  
  694. <<=TIP=>>  You can also add ANSI control sequences to your prompt.  For
  695. example, to help me know visually whether I'm working with an OS/2 command
  696. line, I've add $E[1;33m to my prompt line, i.e. SET PROMPT=$E[1;33m[$P]$G.
  697. This sets text to display in bold yellow characters.  
  698.  
  699. SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  700.  
  701. Tells OS/2 where the help files are located.  OS/2 will only look for its
  702. help files in the path shown.
  703.  
  704. SET GLOSSARY=C:\OS2\HELP\GLOSS;
  705.  
  706. Tells OS/2 where Glossary and Master Help files are located.
  707.  
  708. SET DIRCMD=/ON /P
  709.  
  710. An undocumented command that is the OS/2 equivalent of the DIR command in
  711. DOS.  Since DOS 5, you can tell DIR how to present file information.  To do
  712. this in OS/2, use the DIRCMD command.  For example:  SET DIRCMD=/ON /P tells
  713. OS/2 to display the DIR information in alpha order and place a pause at the
  714. end of each page.
  715.  
  716. <<=NOTE=>>  This is for OS/2 only.  Set the DOS default in your AUTOEXEC.BAT
  717. file.
  718.  
  719.    Options include:
  720.  
  721.    /A list files with specific attributes.  E.g. /AH list only hidden files.
  722.       Other options are S A & R.  If you place a negative (-) sign in front
  723.       of your specified attribute, all files will list except those with the
  724.       attribute specified.  E.g. /A-H-S will display all files except hidden
  725.       and system files.
  726.    /B list directories and files without heading and summary information.
  727.    /F list files with the full drive and path information.  Date, time and
  728.        size are omitted.
  729.    /L displays information in lowercase.
  730.    /N lists files on a FAT drive in the same format used for a HPFS drive
  731.        i.e. date, time, size, name.
  732.    /O list files according to sort option specified.  Sort options are:
  733.          G = Display directories first.
  734.          N = alphabetize by file name
  735.         -N = reverse-alphabetizes by name
  736.          E = alphabetize by extension
  737.         -E = reverse-alphabetizes by extension
  738.          D = by date, oldest first
  739.         -D = by date, newest first
  740.          S = by file size, smallest first
  741.         -S = by file size, largest first
  742.    /P pauses after a full screen of files is listed.
  743.    /R displays long file names if applicable.
  744.    /S searches and displays all directories.
  745.    /W displays file names across the screen.  Date, time and size are omitted
  746.  
  747. LASTDRIVE=H
  748.  
  749. Specifies the maximum number of drives that are accessible.  The value you
  750. specify with LASTDRIVE represents the last valid drive that is recognized. 
  751.  
  752. SET IPF_KEYS=SBCS
  753.  
  754. The character set for most languages can be represented as data using an
  755. 8-bit byte since their characters sets are each less than 256 characters.
  756. These are called single-byte character sets (SBCS).  Languages such as
  757. Japanese (Kanji), Korean and Chinese (both Traditional and Simplified) can
  758. only be represented using two 8-bit bytes or 16-bits.  These are double-byte
  759. character sets (DBCS).
  760.  
  761. This command tells the Information Presentation Facility (INF and help files)
  762. which type of character set is being used, i.e., Single or Double Byte
  763. Character Set.  This is an environment variable.  Removing it from my system
  764. did not seem to have any impact.
  765.  
  766. PRIORITY_DISK_IO=YES
  767.  
  768. This command determines whether programs running in the foreground have
  769. priority access to disks.  The default is YES.  If you want a program running
  770. in the background, like a BBS, to have equal access to your disks, then
  771. change this statement to NO.  If you change this command to no and then find
  772. that your communications program does not work, change back to yes.
  773.  
  774. PRIORITY=DYNAMIC
  775.  
  776. OS/2 automatically assigns processing priorities to each thread of a program
  777. as it begins processing.  A thread running in the foreground will generally
  778. have priority over a thread running in background.  Thread priorities are
  779. adjusted, generally based upon how active they are, by OS/2 on an ongoing
  780. basis to make sure each thread has adequate processing time.  On the rare
  781. occasion that you need to run a program which must never change in priority,
  782. you should set PRIORITY=ABSOLUTE, otherwise, don't mess with it.
  783.  
  784. <<=NOTE=>>  This command does not have to be in your CONFIG.SYS.  If it isn't
  785. OS/2 defaults to PRIORITY=DYNAMIC.
  786.  
  787. Here are some interesting and comments posted by David Page.  "I strongly
  788. suggest that you read "The Design of OS2" by Deitel and Kogan; Addison
  789. Wesley.  It goes into great detail on this topic.
  790.  
  791. "To summarize: The highest priority thread always has the machine.  If there
  792. are two equally high threads, they timeslice having the machine.  Note that
  793. there are many Operating System threads, like the scheduler itself, that are
  794. higher priority than any program.  Now, if PRIORITY=ABSOLUTE in the
  795. CONFIG.SYS file, that's all there is to it.  But usually, PRIORITY=DYNAMIC,
  796. and OS/2 keeps gradually increasing the priority of a starved thread until it
  797. gets to run.  Maxwait determines the maximum time, in seconds, before the
  798. scheduler intervenes to raise a low priority thread up high enough to run."
  799.  
  800. FILES=20
  801.  
  802. This is a standard DOS command which sets the maximum number of files that
  803. DOS can access at the same time.  OS/2 sets the install default is 20, but
  804. some DOS programs may require an increased number.  The maximum parameter is
  805. 255.  The FILES command is for DOS only and has no effect on OS/2 sessions
  806. which can have up to 64,000 files open at the same time.
  807.  
  808. DEVICE=C:\OS2\TESTCFG.SYS
  809. DEVICE=C:\OS2\BOOT\TESTCFG.SYS  <---- In Warp
  810.  
  811. TESTCFG.SYS is used during the install process to test your systems
  812. configuration.  It is also used by the Selective Install process and during
  813. device driver installations.
  814.  
  815. <<=NOTE=>>  Because this driver is used by the Selective Install process, it
  816. should not be deleted.
  817.  
  818. DEVICE=C:\OS2\PMDD.SYS
  819. DEVICE=C:\OS2\BOOT\PMDD.SYS     <---- In Warp
  820.  
  821. OS/2 loads and uses this driver to provide pointer draw support along with
  822. POINTDD.SYS.
  823.  
  824. <<=WARNING=>>  OS/2 will not start without this line in your CONFIG.SYS file.
  825.  
  826. BUFFERS=30
  827.  
  828. Tells OS/2 how many disk buffers to set aside.  Range is from 3 to 100.  Each
  829. buffer takes up to 512 bytes of RAM.  The install default usually works well.
  830. If you are using HPFS only, see <<=Tip=>> below.
  831.  
  832. Disk buffers are blocks of memory set aside by OS/2 for use in reading and
  833. writing blocks of data.  For example, if a program wants to change 80 bytes
  834. of a file, it needs to read the 512 byte sector that contains the original
  835. data, change the information and then write the corrected 512 byte sector
  836. back out.  A "buffer" is the 512 byte temporary staging area for this partial
  837. sector operation.  According to a source at IBM, "OS/2 allows multiple
  838. simultaneous I/O operations to be queued up for both diskette and hard disk.
  839. Each 'concurrent' operation may need a buffer.  If there are not enough
  840. buffers, overlap can be inhibited.  Because OS/2 has more 'simultaneous'
  841. queued I/O than DOS, it needs more buffers."  
  842.  
  843. <<=TIP=>>  Generally, you can speed up your system by increasing the number
  844. of BUFFERS.  But, keep in mind that as you increase the number, you reduce
  845. available memory.  Be careful about using a lower number unless you only have
  846. 4MB of RAM.  With 4MB of RAM you may wish to set BUFFERS to 20.  
  847.  
  848. <<=TIP=>>  If you are using only HPFS (i.e., no FAT partitions), try setting
  849. BUFFERS to 3.  With HPFS you generally don't need BUFFERS.  Remember that 3
  850. is the minimum parameter.  If you set BUFFERS to 1 or 2, OS/2 will default to
  851. 30 since 1 and 2 are out of range.  There is one exception to this tip.  If
  852. you access your floppy disks a lot, then a reduced BUFFERS setting could
  853. impact floppy performance.
  854.  
  855. IOPL=YES
  856.  
  857. When set to YES, this command lets programs that need to bypass OS/2 (and its
  858. device drivers) and work directly with hardware devices, to do so.  One
  859. example is Lotus 123/G.  YES means that all programs can access the hardware
  860. directly.  NO means that no program can access the hardware directly.  YES is
  861. the default and is generally best, since its hard for most of us to know when
  862. a program is written is such a way as to need direct access to hardware.
  863. IOPL stands for Input/Output Privilege Level.
  864.  
  865. <<=TIP=>>  You can also specify a list of programs that are allowed to work
  866. directly with the hardware.  For example, IOPL=WS.EXE,123.EXE would allow
  867. only these two programs to access hardware directly.
  868.  
  869. RUN=C:\OS2\CACHE.EXE /MAXAGE:2500
  870.  
  871. This line runs CACHE.EXE which allows you to modify the parameters for the
  872. HPFS cache.  CACHE.EXE is only used for HPFS partitions.  (The DISKCACHE
  873. command sets up a cache for FAT.)  There are four switches for CACHE.EXE:
  874.  
  875.    /LAZY:  Determines if lazy writes is ON or OFF, that is, whether the
  876.      contents of the cache will be written to your hard disk immediately
  877.      (/LAZY:OFF) or when your hard disk is idle (/LAZY:ON)  The default is
  878.      ON.  I like lazy writes ON because it improves performance, but keep in
  879.      mind that since the system delays writing data to your hard disk, you
  880.      can lose data if your system should crash.  In the CONFIG.SYS file line
  881.      above no switch is specified therefore the default remains in effect,
  882.      which is ON.  
  883.  
  884.      <<=TIP=>>  Lazy writes can also be turned ON or OFF at an OS/2 command
  885.                  prompt.
  886.  
  887.      <<=WARNING=>>  If you include the /LAZY switch, then the CACHE statement
  888.                  will IGNORE ALL OTHER SWITCHES in the line.  Therefore, if
  889.                  you want to turn lazy writes off (or on) and also change
  890.                  some other parameter, you will need two RUN statements.
  891.  
  892.      <<=WARNING=>>  There is a bug in OS/2 version 2.1 which does not appear
  893.                  to have been fixed in Warp.  You can't turn lazy writes off
  894.                  from the CONFIG.SYS file.  The WpS always turns lazy writes
  895.                  ON when it loads regardless of what your CACHE.EXE command
  896.                  sets.  So, if you want lazy writes off, you will need to run
  897.                  the CACHE command AFTER the WpS starts.  Create a CMD file
  898.                  to turn it off and place it in your Startup folder.  The WpS
  899.                  has already done it's thing when the objects in the Startup
  900.                  folder are opened.  You can also turn it off from a command
  901.                  prompt. (Thanks to Denis Tonn for this critical information)
  902.  
  903.    /MAXAGE:  Sets how long data waits in the cache before it is moved to
  904.      another area of the cache where less used information is stored, or how
  905.      long data waits in the cache before it is written to the hard disk.  It
  906.      is expressed in milliseconds.  The default is 5,000 or about 5 seconds.
  907.      In the CONFIG.SYS file line above, the wait is set at 2,500 milliseconds
  908.      or about 2 1/2 seconds.
  909.       
  910.    /DISKIDLE:  Sets how long your hard disk must be idle before it will
  911.      accept data from the cache.  Express in milliseconds and the default is
  912.      1,000 or about one second.  In the CONFIG.SYS file line above no switch
  913.      was specified so the default remains in effect.
  914.  
  915.    /BUFFERIDLE:  Sets how long the cache buffer must be idle before its
  916.      contents MUST be written to your hard disk.  Express in milliseconds and
  917.      the default is 500 or about 1/2 second.  In the CONFIG.SYS file line
  918.      above no switch was specified so the default remains in effect.
  919.  
  920. According to one source at IBM, there are two other undocumented parameters.  
  921.  
  922.    /DIRTYMAX:  The threshold number of dirty buffers before immediately
  923.      flushing of least recently used (LRU) data blocks.
  924.  
  925.    /WRITECACHE:  The threshold number of bytes that HPFS will cache for a
  926.      lazy write.
  927.  
  928. <<=NOTE=>>  The HPFS IFS CONFIG.SYS file line sets up the cache and uses the
  929. system defaults.  This CONFIG.SYS file line is only used to modify the cache
  930. parameters.  
  931.  
  932. <<=TIP=>>  You can check to see what parameters the HPFS cache is currently
  933. set at by going to an OS/2 command prompt and keying in the word CACHE and
  934. pressing the enter key.
  935.  
  936. <<=TIP=>>  Table 2.0 contains information on optimum settings for each of the
  937. main parameters.  This great stuff was provided by Proportional Software
  938. based upon a great deal of OS/2 system tweaking done by the DCF/2 development
  939. team.
  940.  
  941.  ========================= Table 2.0 ===========================
  942.  
  943.    Parameters:             LAZY WRITES               /LAZY:ON
  944.                                 MAXAGE                 >7,500 
  945.                               DISKIDLE                 60,000 
  946.                             BUFFERIDLE                 60,000
  947.  ===============================================================
  948.  
  949. DISKCACHE=256,LW,32,AC:C
  950.  
  951. If you are using one or more FAT partitions on a hard drive, this command
  952. sets up a disk cache for those partitions.  The DISKCACHE line noted here
  953. sets up a 256k cache.  The default cache size used by OS/2 during
  954. installation is based on how much RAM your system contains.  See Table 3.0
  955. The minimum cache size is 64k and the Maximum FAT cache size is 14MB.
  956.  
  957. <<=IMPORTANT NOTE=>>  Under Warp, during installation the letter "D" (for
  958. Default?) is used instead of the usual numeric value.  This is either an
  959. error or an undocumented parameter.  On the "nets", several users have
  960. reported that their disk I/O was significantly reduced when they replaced the
  961. "D" with a value as was the case in OS/2 2.x.  I suggest you change this
  962. setting based on the optimum cache sizes as shown in Table 1.1 above.
  963.  
  964. <<=NOTE=>>  This command is for hard drives only.  DISKCACHE does not cache
  965. FAT based floppy drives.
  966.  
  967. <<=TIP=>>  If you have the RAM, increase the size to improve system
  968. performance, but don't get carried away by using to much of your RAM; this
  969. can hurt performance.  See the information on optimum cache sizes contained
  970. in Table 1.1 above.
  971.  
  972. <<=TIP=>>  If you are only using HPFS, then you should REM this statement
  973. and save 64k of RAM (don't delete, you may need or want it later).  If you
  974. have a FAT partition on your hard drive and you REM this statement, OS/2 will
  975. automatically set up a 64k cache by default.
  976.  
  977.  ========================= Table 3.0 ===========================
  978.  
  979. If you have formatted your hard drive(s) with only FAT partitions, the
  980. default cache size in this statement will be that noted under ONE FILE
  981. SYSTEM.  If you have both FAT and HPFS partitions, then OS/2 defaults to the
  982. cache size noted under TWO FILE SYSTEM.  The file system which uses the
  983. greatest amount of your disk space gets the larger default value.  
  984.  
  985.    MEMORY SIZE IN MB      TWO FILE SYSTEM       ONE FILE SYSTEM    
  986.             4                   128/64                 128          
  987.             5                   128/64                 128          
  988.             6                   256/64                 256          
  989.             7                  256/128                 256          
  990.             8                  256/256                 384          
  991.             9                  256/256                 384          
  992.          10 - 16               512/512                1024          
  993.          17 - 32              1024/1024               2048          
  994.  ===============================================================
  995.  
  996. LW:  Enables lazy writes.  If you don't want lazy write enabled, then ",LW".
  997.  
  998. 32:  Sets the threshold size.  It is express in number of sectors which are
  999. 512 bytes each.  Data requests from your disk that are larger than this
  1000. number will not be cached.  The default is 4.  Thirty two (32) is said to be
  1001. an optimum number.  One hundred twenty eight (128) is the maximum allowable.
  1002. This setting has no impact on RAM.
  1003.  
  1004. AC:C:  If you want CHKDSK to automatically check your start up partition
  1005. (usually C), then add this switch to end of the DISKCACHE command:  AC:n
  1006. where n is your start up partition, e.g. AC:C.
  1007.  
  1008. MAXWAIT=3
  1009.  
  1010. This command sets the longest period a program will have to wait to execute
  1011. before OS/2 ups its priority.  This makes sure that no program is put on hold
  1012. forever while some other program hogs the system.  You can set MAXWAIT from 1
  1013. to 255 seconds.  The default is 3 seconds.
  1014.  
  1015. <<=TIP=>>  When running heavy background programs, such as a BBS, change the
  1016. setting to 1, i.e. MAXWAIT=1.  This will keep the BBS software or other
  1017. background programs running at top speed.  For general use, it appears that
  1018. setting MAXWAIT=2 makes the system a little livelier.
  1019.  
  1020. <<=NOTE=>>  MAXWAIT only has an effect if PRIORITY=DYNAMIC.
  1021.  
  1022. MEMMAN=SWAP,PROTECT
  1023.  
  1024. OS/2 can run more programs and use more data than can actually be stored in
  1025. memory at any given time.  This is done by swapping large amounts of memory
  1026. to your hard disk and then reading the data back into memory when needed.
  1027. This is called virtual memory.  For example, if you have 4MB of memory you
  1028. will see lots of disk activity while you are working with your system.  A lot
  1029. of this is OS/2 swapping memory to and from your hard disk.  Lots of memory
  1030. swapping slows down your system and can cause your hard disk to fragment
  1031. quicker than normal.
  1032.  
  1033. The MEMMAN command controls the swap process.  The syntax is ...
  1034.  
  1035. MEMMAN=s,m,PROTECT,COMMIT
  1036.  
  1037. where s=SWAP or NOSWAP; m=MOVE or NOMOVE.  The default is to have virtual
  1038. memory on.  To turn off virtual memory, which is NOT recommended, the
  1039. CONFIG.SYS file line should read:  MEMMAN=NOSWAP.  See <<=CAUTION=>> below.
  1040.  
  1041. PROTECT allows the allocation and use of protected memory.  Unless you are a
  1042. programmer who needs this set to NOPROTECT, leave the default.
  1043.  
  1044. <<=NEW 2.1+ PARAMETER=>>  A new parameter with version 2.1 is COMMIT.  With
  1045. this parameter included, OS/2 will allocate space in the swap file whenever a
  1046. program commits memory.  Increase your SWAPPER.DAT file (in the SWAPPATH line
  1047. below) by the amount of memory you are likely to use when using the COMMIT
  1048. parameter.
  1049.  
  1050. <<=TIP=>>  You can also use the COMMIT parameter another way.  Without COMMIT
  1051. set, the minimum free noted in you SWAPPATH specified the point at which OS/2
  1052. gives you a message warning that your disk space is running low.  When you
  1053. set COMMIT, the minimum free value noted in your SWAPPATH statement becomes
  1054. the amount of hard disk space that will always remain free on the swap file
  1055. partition.  Thus, with COMMIT set, you can never run out of disk space on
  1056. your swap file partition.
  1057.  
  1058. <<=CAUTION=>>  When messing with the MEMMAN line, I changed it to
  1059. MEMMAN=NOSWAP.  As a result, I had to boot from my OS/2 installation disk and
  1060. recover my backup CONFIG.SYS file to get the system to boot.  According to
  1061. Blake Stover, "The reason MEMMAN=NOSWAP,PROTECT chokes is because of the hat
  1062. tricks OS/2 does while loading the WpS, Desktop, Bitmaps, Folders, Cache
  1063. buffers, MMPM/2, etc..  OS/2 likes to load all of these, then swap or discard
  1064. the inactive code.  If there is no where to swap to it dies during boot,
  1065. unable to initialize the resources it needs.  NOSWAP,PROTECT should only be
  1066. used for boots from floppy to do maintenance, in most cases.  (People who
  1067. use TSHELL on a machine with a good amount of RAM may also use it to speed
  1068. operations).
  1069.  
  1070. <<=NOTE=>>  The MOVE/NOMOVE parameter is only provided for OS/2 1.x
  1071. compatibility.
  1072.  
  1073. <<=NOTE=>>  NOPACK PARAMETER.  When OS/2 initially loads a 16-bit OS/2
  1074. application, it packs the segments into pages and copies them to the swap
  1075. file for faster recovery when needed.  This can be disabled by using the
  1076. NOPACK option on the MEMMAN line. However, the performance decrease and
  1077. larger working set will rarely offset the potential of a reduced swap file
  1078. size.
  1079.  
  1080. <<=NOTE=>>  DELAYSWAP.  No information at this time.
  1081.  
  1082. SWAPPATH=C:\OS2\SYSTEM 512 4096
  1083.    
  1084. OS/2 can allocate more memory than it actually has available.  It does this
  1085. by swapping memory to a hard disk file called SWAPPER.DAT.
  1086.  
  1087. The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE,PATH is the location
  1088. where you want the SWAPPER.DAT file to be placed and mmm is a number from 512
  1089. to 32767 which specifies how large the SWAPPER.DAT file can grow before it
  1090. stops consuming hard disk space.  The size is stated in the negative.  In
  1091. other words, if you have the mmm set to 512, then the SWAPPER.DAT file can
  1092. grow until there is only 512k left on your hard disk.  The variable nnn is
  1093. the starting size of the SWAPPER.DAT file.
  1094.  
  1095. The install default SWAPPER.DAT size is set based on the amount of RAM your
  1096. system has available as shown in Table 4.0.
  1097.  
  1098.  ============================ Table 4.0 ============================
  1099.  
  1100.      MEMORY IN MB       MINFREE (KB)       INITIAL SIZE (KB)    
  1101.            4                4096                  6144          
  1102.            5                4096                  5120          
  1103.            6                4096                  5120          
  1104.            7                2048                  4096          
  1105.            8                2048                  4096          
  1106.            9                2048                  3072          
  1107.           10                2048                  3072               
  1108.         11 - 32             2048                  2048          
  1109.  ===================================================================
  1110.  
  1111. <<=TIP=>>  When your swap file grows beyond the initial size you have
  1112. specified, OS/2 starts to manage the swap file.  This increased overhead can
  1113. negatively impact your systems performance.  Therefore, if your swap file
  1114. always exceeds its initial size, consider increasing the files initial size.
  1115. For example, if your swap file usually grows to 8MB, set the initial size of
  1116. 8MB.
  1117.  
  1118. <<=TIP=>>  Normal operation of OS/2 can involves considerable disk activity
  1119. as operating system functions are loaded and pages are moved in and out of
  1120. the swap file.  Here are a couple of tips to improve performance.
  1121. (1) Consider dedicating a separate partition for the swap file.  This helps
  1122. avoid fragmentation of the swap file, because other files will not be added
  1123. or deleted from the dedicated partition.  (2) If you have both FAT and HPFS
  1124. partitions, put the swap file on the HPFS partition to take advantage of the
  1125. better performance of HPFS.  (3) If you have a system with two hard disk
  1126. controllers, put the swap file on a disk managed by the least used
  1127. controller.  (4) Keep your swap file on the MOST used partition of the LEAST
  1128. used hard drive.
  1129.  
  1130. <<=WARNING=>>  Never put your swap file on a networked drive.
  1131.  
  1132. <<=NOTE=>>  Your swap file will grow (in 1MB increments), but it also shrinks
  1133. when two conditions are met.  One, when the amount of free space in the swap
  1134. file is greater than 1.5MB, the swap file will be compressed during system
  1135. idle time.  (It will not shrink if there is a constant "hit" on the drive by
  1136. a program such as a swap file monitor.)  Two, during the compression, free
  1137. space is moved to the end of the swap file.  When this free space at the end
  1138. of the swap file exceeds 1MB, the swap file will be shrunk.
  1139.   
  1140. <<=NOTE=>>  See the discussion of the new COMMIT parameter for the MEMMAN
  1141. CONFIG.SYS line including the <<=TIP=>>.
  1142.  
  1143. <<=WARP NOTE=>>  Your swap file in Warp will be larger than in earlier
  1144. versions of OS/2.  This is normal.  The most significant change that has been
  1145. made is how system DLL's get loaded and what is now valid data for swapping.
  1146. System DLL's include:  DISPLAY, SOM, PMMERGE, PMWP, DOSCALL1, PMATM, PMMLE,
  1147. IBMDEV32, PMCTLS, PMSPL, IBMVGA32, PMGPI, and PMVIOP.
  1148.                                                             
  1149. In the previous versions of OS/2, dll code was never copied to the swapper
  1150. file.  In WARP, code for system dll's can be written to the swapper file and,
  1151. in adition, during boot, PMMERGE, DOSCALL1, PMGPI, PMWP and PMVIOP will be
  1152. swapped out.  This means that there will be an overall increase in swapper
  1153. size.  This was done to increase overall system perfomance.
  1154.  
  1155. BREAK=OFF
  1156.   
  1157. For DOS programs only.  Many DOS programs can be stopped by holding down the
  1158. Ctrl key and then pressing the Break key.  BREAK controls how quickly DOS
  1159. programs stop when you interrupt them with the Ctrl+Break sequence.  If
  1160. BREAK=OFF, DOS will stop the program only when the programs next reads a
  1161. character from the keyboard or writes to the screen or printer.  With
  1162. BREAK=ON, DOS will check for the Ctrl+Break on a more frequent basis.
  1163. Remember that this extra checking can make your DOS programs run slower.
  1164.  
  1165. THREADS=256
  1166.  
  1167. OS/2 programs can have several different processes running at the same time.
  1168. These are called threads.  This command sets the maximum number of threads,
  1169. from 32 to 4095, that OS/2 can run at the same time.  If this command is not
  1170. included in your CONFIG.SYS file, OS/2 will default to 64.
  1171.  
  1172. <<=TIP=>>  On systems with only 4MB of RAM, set THREADS to 128 to free up
  1173. memory.  
  1174.  
  1175. <<=TIP=>>  If you have more than 8MB of RAM and run lots of OS/2 specific
  1176. programs, you may be able to improve system responsiveness by increasing the
  1177. number of threads.  Why?  Because well written OS/2 programs will use threads
  1178. to improve program performance.  Therefore, the more well written OS/2
  1179. programs in use, the more threads that could be needed.  But still keep in
  1180. mind that this only holds true only when you are using a fair number of OS/2
  1181. specific programs at the same time.  Even when I opened the Enhanced Editor,
  1182. AmiPro for OS/2, ZOC, and KWQ Mail/2, I was only using 57 threads.  The most
  1183. threads I've ever recorded at one time was 62.
  1184.  
  1185. PRINTMONBUFSIZE=134,134,134
  1186.  
  1187. This command sets the size of the print buffers for your parallel ports.  The
  1188. syntax is PRINTMONBUFSIZE=LPT1,LPT2,LPT3 where LPT1 is the buffer size for
  1189. the parallel port LPT1, LPT2 is the buffer size for LPT2 and LPT3 is the
  1190. buffer size for LPT3.  The default and minimum is 134 bytes and the maximum
  1191. is 2048 bytes.
  1192.  
  1193. <<=Note=>>  You must define a buffer for LPT2 and LPT3 even if you don't use
  1194. these ports.  You will get an error message at start up if you don't.
  1195.  
  1196. <<=TIP=>>  You may be able to improve printer throughput by increasing buffer
  1197. size.  I have my LPT1 set to 2048.  On systems with less than 6MB of RAM,
  1198. don't increase the size of these buffers. 
  1199.  
  1200. <<=TRIVIA=>>  Ever wonder where IBM got a parameter like 134?  I did and Lynn
  1201. Nash passed along the following in response to my question:
  1202.  
  1203. "Obviously you have no background on the big iron or it has disappeared into
  1204. historical memory :-).  Mainframe line standard of 132 columns plus 2 for
  1205. carriage return and line feed characters.  That is why all the wide carriage
  1206. dot matrix printers also had 132 column lines, to be able to use that wide
  1207. green bar paper.  Anyone that had an early Okidata 83 dot matrix even had an
  1208. electronic format tape, but that is a story for another time."
  1209.  
  1210. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1211.  
  1212. Customizes your system for the country you wish to use.  It establishes which
  1213. defaults to use when it comes to decimal separators, date and time formats,
  1214. currency symbols, etc.  The syntax is COUNTRY=xxx,PATH,FILE NAME.  xxx is a
  1215. three-digit code number that tells what country to use.  The number is
  1216. usually (but not always) the same as the international telephone dialing
  1217. prefix for the country desired.  Table 5.0 contains various country codes.
  1218.  
  1219.  =========== Table 5.0 =============
  1220.  
  1221.    COUNTRY              COUNTRY CODE   
  1222.    Arabic-speaking          785            
  1223.    Asia (English)           099            
  1224.    Australia (English)      061            
  1225.    Belgium                  032            
  1226.    Canada (French)          002            
  1227.    China                    088            
  1228.    Czechoslovakia           042            
  1229.    Denmark                  045            
  1230.    Finland                  358            
  1231.    France                   033            
  1232.    Germany                  049            
  1233.    Hebrew-speaking          972            
  1234.    Hungary                  036            
  1235.    Iceland                  354            
  1236.    Italy                    039            
  1237.    Japan                    081            
  1238.    Korea                    082            
  1239.    Latin America            003            
  1240.    Netherlands              031            
  1241.    Norway                   047            
  1242.    Poland                   048            
  1243.    Portugal                 351            
  1244.    Spain                    034            
  1245.    Sweden                   046            
  1246.    Switzerland              041            
  1247.    Taiwan                   088            
  1248.    Turkey                   090            
  1249.    United Kingdom           044            
  1250.    United States            001            
  1251.    Yugoslavia               038            
  1252.  ===================================
  1253.  
  1254. SET KEYS=ON
  1255.  
  1256. When using the command line, KEYS tells CMD.EXE whether to remember previous
  1257. keystrokes so they can be recalled with the up arrow key.  OS/2 maintains a
  1258. 64k buffer for storing keystroke history.  KEYS can be ON or OFF.
  1259.  
  1260. <<=TIP=>>  On systems with only 4MB of RAM, SET KEYS to OFF, you need the
  1261. memory more than this feature.  Even with 16MB of RAM, since I don't use the
  1262. feature I have turned it off to get a small memory boost.
  1263.  
  1264. SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;C:\OS2\ETC\WPDSERV.IR;SOM.IR
  1265.  
  1266. No information on this new Warp command at this time.  
  1267.  
  1268. SET SOMDDIR=C:\OS2\ETC\DSOM
  1269.  
  1270. No information on this new Warp command at this time.  
  1271.  
  1272. SET DELDIR=C:\DELETE,512;
  1273.  
  1274. To use OS/2s UNDELETE command, you must first establish a directory to store
  1275. the deleted files.  To do this, create a directory called DELETE on each
  1276. drive you have and then remove the "REM" from this CONFIG.SYS file line.  
  1277.  
  1278. This command points OS/2 to the directory you created to place deleted files
  1279. in.  It also indicates the maximum number of files that will be stored in the
  1280. DELETE directory.  If the number of deleted files exceeds the maximum number
  1281. that you specified, then files are automatically removed from the directory
  1282. on a first-in-first-out basis.
  1283.  
  1284. BASEDEV=PRINT01.SYS
  1285.  
  1286. BASEDEV installs a base device driver used by OS/2 when it is first started.
  1287. The statement cannot contain either a drive or path because OS/2 cannot
  1288. process such information at the stage at which these statements are process.
  1289. These base device drivers include:
  1290.  
  1291.  PRINT01.SYS  supports attached printers on non-Micro Channel PC's.
  1292.  PRINT02.SYS  supports attached printers on Micro Channel PC's.
  1293.  IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  1294.  IBM2FLPY.ADD supports diskette drives on Micro Channel PC's.
  1295.  IBM2SCSI.ADD supports SCSI disk drives on Micro Channel PC's.
  1296.  OS2SCSI.DMD  supports non-disk SCSI devices.
  1297.  IBM1S506.ADD supports non-SCSI disk drives, non-Micro Channel PC's.
  1298.  OS2DASD.DMD  is a general purpose driver for disk drives.
  1299.  IBM2ADSK.ADD supports non-SCSI disk drives on Micro Channel PC's.
  1300.  IBMINT13.I13 supports non-Micro Channel SCSI adapters.
  1301.  OS2CDROM.DMD supports CD-ROM drives.
  1302.  FD16-700.ADD support driver for Future Domain 1670 SCSI.
  1303.  FD8XX.ADD    supports Future Domain FD8XX devices.
  1304.  TMV1SCSI.DMD supports Media Vision CD-ROM/ProAudio SCSI.
  1305.  SONY31A.ADD  supports the Sony CDU-31A & CDU-33A CD-ROM drive.
  1306.  SONY535.ADD  supports the Sony CDU-531 & CDU-535 CD-ROM drives.
  1307.  MITFX001.ADD supports a Mitsumi CD-ROM drive.
  1308.  AHA154X.ADD  supports SCSI on Adaptec 1542C controllers.
  1309.  AHA174X.ADD  supports SCSI on Adaptec 1742 controllers.
  1310.  OS2ASPI.DMD  Adaptec ASPI support.
  1311.  HITCDS1.FLT  supports Hitachi CDR-1750.
  1312.  SBCD2.ADD    supports Panasonic CD-ROM drives.
  1313.  LMS206.ADD   supports Philips CD-ROM drives.
  1314.   
  1315. <<=TIP=>>  Try adding the following switches to the BASEDEV=IBM1S506.ADD
  1316. line: BASEDEV=IBM1S506.ADD /A:0 /U:O /SMS, and use /V (/V=verbose) to see if
  1317. the /SMS works.  This will improve performacne on those IDE drives that
  1318. support the SMS feature.  It will not work on all IDE drives, but it will not
  1319. damage anything either.
  1320.  
  1321. <<=TIP=>>  If you wish to prevent users from using the floppy drives under
  1322. OS/2 (to keep them from loading non-authorized programs or in a workstation
  1323. situation), REM the BASEDEV=IBMxFLPY.ADD line (where x is 1 for ISA and EISA
  1324. machines, or 2 for Microchannel).
  1325.  
  1326. <<=NOTE=>>  In Warp, the install program may have placed both IBM1FLPY.ADD
  1327. and IBM2FLPY.ADD BASEDEV drivers in your CONFIG.SYS.  Remove IBM2FLPY.ADD if
  1328. you don't have a Micro Channel PC.
  1329.  
  1330. <<=WARP TIP=>>  With Warp, the default transmission protocal use by
  1331. PRINTO1.SYS and PRINTO2.SYS is the polling transmission method.  The protocal
  1332. used by previous versions of OS/2 was the interrupt transmission method.  In
  1333. Warp, you can change back to the interrupt method by adding the /IRQ switch.
  1334.  
  1335. SET BOOKSHELF=C:\GAMMA32;C:\OS2\BOOK
  1336.  
  1337. This command points to the on-line documentation (INF files) provided with
  1338. OS/2 or other OS/2 programs.  I have the GAMMATECH utilities installed on my
  1339. system which contains on-line documentation. 
  1340.  
  1341. <<=TIP=>>  If you have an HPFS partition, copy all of your on-line
  1342. documentation (INF files) to this partition.  Then change this parameter to
  1343. reflect the new path.  You will notice a substantial improvement in search
  1344. speed since HPFS is much faster than FAT.
  1345.  
  1346. SET EPMPATH=C:\OS2\APPS
  1347.  
  1348. Replaced SET EPATH=C:\OS2\APPS in version 2.0.  According to one source in
  1349. IBM, EPMPATH is used by the Enhanced Editor (EPM.EXE) to locate its files.
  1350.  
  1351. DEVICE=D:\OS2\VASPIDD.SYS
  1352. DEVICE=D:\OS2\VASPI.SYS
  1353.  
  1354. Adaptech ASPI device drivers for SCSI support.
  1355.  
  1356. DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  1357. DEVICE=C:\OS2\APPS\SASYNCDA.SYS
  1358.  
  1359. This device driver loads communications support for the PM Terminal applet.
  1360. The PM Terminal applet, and this device driver, were dropped in OS/2 Warp.
  1361.  
  1362. <<=TIP=>>  If you don't use PM Terminal, REM this line to save a little
  1363. memory.  In fact, if you are not using PM Terminal applet you may wish to
  1364. consider deleting the files to save some disk space also.
  1365.  
  1366. PROTECTONLY=NO
  1367.  
  1368. Allows you to choose between a shared DOS and OS/2 operating environment or
  1369. just an OS/2 environment.  If you plan to run only OS/2 programs, then set
  1370. PROTECTONLY=YES.  If you plan to run DOS programs (including Windows), then
  1371. set PROTECTONLY=NO.
  1372.  
  1373. <<=NOTE=>>  Jonathan de Boyne Pollard relayed the following: "Part of the
  1374. difficulty of talking about OS/2 2.x, as opposed to OS/2 1.x, is that *all*
  1375. processes run in *protected mode*.  The 386 never runs in real mode in OS/2
  1376. 2.x.
  1377.  
  1378. "Virtual DOS Machines are run in v8086 mode, which is still *protected mode*,
  1379. as the paging mechanism is still active.  The major difference between v8086
  1380. and normal protected mode is that the segment base addresses in linear memory
  1381. are fixed, instead of being determined by the entries for each selector in
  1382. the LDT and GDT."
  1383.  
  1384. "So PROTECTONLY in OS/2 2.x means *don't use v8086 protected mode*.  For a
  1385. while there we thought that it meant *don't use real mode* and so was useless
  1386. to OS/2 2.x, but it seems after all that it retains its original OS/2 1.x
  1387. semantics, if not its original mechanism."
  1388.  
  1389. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1390.  
  1391. This line identifies and loads the DOS command processor COMMAND.COM which
  1392. you must have to make DOS sessions work.  The /p switch keeps the command
  1393. processor in memory until shut down.
  1394.  
  1395. <<=NOTE=>>  This is the line where you can also specify the size of the DOS
  1396. environment variable.  The range is 160 through 32768.  For example, to set a
  1397. 1024 byte environment you would add the following to the end of the SHELL
  1398. command line:  /E:1024
  1399.  
  1400. <<=TIP=>>  You can also load and run other command processor's such as 4DOS.
  1401. To do so, just put 4DOS in your MDOS directory and change the SHELL line to
  1402. read 4DOS.COM instead of COMMAND.COM.
  1403.  
  1404. FCBS=16,8
  1405.  
  1406. File Control Blocks (FCBS) are an outmoded holdover from old versions of DOS.
  1407. The blocks are an internal holding area for data about concurrently open
  1408. files.  In newer versions of DOS, these FCBS have been replaced by File
  1409. Handles, but some DOS programs still use them and you need this statement for
  1410. compatibility.  The command tells an OS/2 VDM how many FCBS can be open at
  1411. once, or, when DOS needs to open more FCBS than are available, how many
  1412. currently open but not active FCBS may be closed to make room for new ones.
  1413.  
  1414. The syntax is FCBS=a,b where a=the number of FCBS that DOS can have open at
  1415. one time and b=the number of FCBS DOS cannot close to make room for new FCBS.
  1416. "a" can be as high as 255.  "b" can have a value of 0 to 254, but must be
  1417. less than "a".  Unless you get some kind of error message when running a DOS
  1418. program that tells you the program doesn't have enough FCBS, leave the
  1419. default as set.
  1420.  
  1421. <<=TIP=>>  You may wish to experiment with a smaller number.  If you can get
  1422. by with a smaller number, you will get back a little memory in each of your
  1423. DOS sessions.  My suggestions is that you set it to 4,2.  If you make this
  1424. change and then load a DOS program that says it can't open a file, increase
  1425. the first value, reboot, and see if the error message goes away.  You can
  1426. also increase or change the value in the DOS programs Settings notebook.
  1427.  
  1428. RMSIZE=640
  1429.  
  1430. This is a DOS command and sets the amount of memory available for use by each
  1431. DOS session.  The maximum is 640k.  Since some DOS programs require 640k, its
  1432. best to have RMSIZE set to 640.
  1433.  
  1434. <<=TIP=>>  If you only have 4MB of RAM or don't have any DOS programs that
  1435. need a full 640k, you should consider reducing this parameter to 512.  Many
  1436. DOS applications will run in a 512k DOS partition.  Doing this will free up
  1437. some additional RAM which will help performance.  Remember that Windows is
  1438. a DOS program.  I don't suggest you attempt to run it in less than 640kb.
  1439.  
  1440. <<=TIP=>>  If you need maximum memory (more than 640k), see tip under
  1441. DOS=LOW,NOUMB
  1442.  
  1443. DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1444.  
  1445. VEMM.SYS lets DOS programs use expanded memory unless you override it by
  1446. changing a DOS programs SETTINGS.
  1447.  
  1448. Three of its switches are:
  1449.  
  1450.    /S=n  Sets the limit of EMS memory in blocks of 1024k.  Default is 2.
  1451.  
  1452.    /L=n  Size of conventional memory that can be remapped.  Default is none.
  1453.  
  1454.    /F=nnnn  Memory frame address to be used to map EMS.  Default is AUTO.
  1455.  
  1456. <<=NOTE=>>  Settings you specify in a DOS session will override these
  1457. switches.
  1458.  
  1459. <<=NOTE=>>  The VEMM.SYS device must be listed in your CONFIG.SYS file before
  1460. the VXMS.SYS device.
  1461.  
  1462. DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1463.  
  1464. Identifies and loads the mouse driver to let you use a mouse with DOS.  Mouse
  1465. support for OS/2 is loaded below.  
  1466.  
  1467. <<=NOTE=>>  If you don't have this line (or you REM'd it), you will not have
  1468. mouse support in your DOS sessions.
  1469.  
  1470. DOS=LOW,NOUMB
  1471.   
  1472. This is a standard DOS command that lets you control how DOS uses memory.
  1473. The default is DOS=LOW,NOUMB and is considered by many to be the best setting
  1474. for it conserves memory for OS/2.  DOS=HIGH (including ,UMB) reduces
  1475. available memory for OS/2, but increases the available memory in EVERY DOS
  1476. session.  Few DOS sessions need maximum memory.  Also remember that you can
  1477. move DOS HIGH for a specific program by changing that programs Settings.
  1478. This is done in the programs Settings Notebook and is likely the better way
  1479. to go.  Finally, keep in mind that in OS/2 many device drivers are not taking
  1480. up room in your 640k DOS area.  So you generally have more memory in the
  1481. typical OS/2 DOS session than in a standard DOS session.
  1482.  
  1483. The following is the amount of memory my system reports in each DOS session
  1484. with DOS=LOW,NOUMB.  The vast majority of all DOS programs will run just fine
  1485. with this amount of memory.
  1486.  
  1487.    655360 bytes total memory
  1488.    655360 bytes available for DOS
  1489.    618208 largest executable program size    <---- About 604k.
  1490.  
  1491. With DOS=HIGH, the amount of memory reported is:
  1492.  
  1493.    655360 bytes total memory
  1494.    655360 bytes available for DOS
  1495.    643632 largest executable program size    <---- About 629k.
  1496.  
  1497. <<=TIP=>>  If you need the maximum available RAM in a DOS session and can get
  1498. by on CGA or MONO, in the DOS Settings of your applications Settings
  1499. Notebook, change VIDEO_MODE_RESTRICTION to CGA or MONO.  (Note that there are
  1500. some reports from users that this procedure does not work on their hardware.)
  1501. A final note:  For this to work on some systems, you may need to change
  1502. RMSIZE command to 639 (RMSIZE=639).  See description of this parameter above.
  1503. This is the result of a bug in OS/2.  
  1504.  
  1505. The amount of memory reported after doing this on my machine is:
  1506.  
  1507.    752640 bytes total memory
  1508.    752640 bytes available for DOS
  1509.    740656 largest executable program size    <---- About 724k.
  1510.  
  1511. DEVICE=C:\OS2\APM.SYS
  1512.  
  1513. Device driver for ADVANCED POWER MANAGEMENT system used with laptop systems.
  1514. Not using a laptop?  Then REM or delete the statement.  If you are using a
  1515. laptop, see the OS/2 README file for more details on its operation.
  1516.  
  1517. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1518.  
  1519. VXMS.SYS is a device driver that provides Extended Memory management to DOS
  1520. sessions.  XMS allows DOS programs to access more than one MB of memory.  You
  1521. need the /UMB switch at the end if you want upper memory block support in DOS
  1522. sessions.
  1523.  
  1524. <<=NOTE=>>  The VXMS.SYS device must be listed in your CONFIG.SYS file after
  1525. the VEMM.SYS device.
  1526.  
  1527. DEVICE=C:\OS2\MDOS\VDPX.SYS
  1528.  
  1529. Driver required when using VDPMI in the CONFIG.SYS line below.  One authority
  1530. said that this driver "provides V86 to Protected Mode translation for DPMI
  1531. memory".  Well that's enough to lose me.
  1532.  
  1533. DEVICE=C:\OS2\MDOS\VDPMI.SYS
  1534.  
  1535. Provides "virtual" DPMI (DOS Protect Mode Interface) memory for DOS and
  1536. Window sessions.  I don't know much about this, but I've been told not to
  1537. remove it.
  1538.  
  1539. DEVICE=C:\OS2\MDOS\VWIN.SYS
  1540.  
  1541. Assists in the process of providing seamless Windows support.
  1542.  
  1543. DEVICE=C:\OS2\EXTDSKDD.SYS
  1544.  
  1545. EXTDSKDD.SYS supports external disk drives.
  1546.  
  1547. DEVICE=C:\OS2\PCMCIA.SYS 
  1548. DEVICE=C:\OS2\MDOS\VPCMCIA.SYS 
  1549.  
  1550. These two drivers were new beginning with version 2.1.  They provide support
  1551. for computers that have PC Memory Card International Association (PCMCIA)
  1552. adapters.
  1553.  
  1554. <<=TIP=>> If you don't have any PCMCIA devices, then you should REM these
  1555. drivers to save a little RAM.
  1556.  
  1557. <<=NOTE=>>  If you are using PCMCIA adapters and you find that your
  1558. communications ports (COM1 - COM4) are not working properly, place these two
  1559. device drivers after the COM.SYS and VCOM.SYS statements.
  1560.  
  1561. DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1562.  
  1563. This is a CD-ROM device driver that provides support in DOS sessions.
  1564.  
  1565. <<=TIP=>> If you don't have a CD-ROM installed, then you should REM this line
  1566. to save a little RAM.  Remember, the more RAM OS/2 has, up to 16MB, the
  1567. better it runs.  After 16MB it doesn't seem to improve much, overall.
  1568.  
  1569. IFS=C:\OS2\CDFS.IFS /C:4
  1570. IFS=C:\OS2\BOOT\CDFS.IFS /C:4     <---- In Warp
  1571.  
  1572. This OS/2 command is needed if you have a CD-ROM.  It installs CDFS.INF which
  1573. is the "Installable File System" for CD-ROMs.  Your CD-ROM is not going to
  1574. run without it.
  1575.     
  1576. <<=TIP=>> You can add cache to your CD-ROM IFS by adding the /C:n switch.
  1577. The variable "n" is a number which represents units of 64kb of memory.  For
  1578. example, /C:4 would set up a 256kb cache (4 x 64kb = 256kb).
  1579.  
  1580. DEVICE=C:\OS2\OS2CDROM.DMD /Q
  1581. DEVICE=C:\OS2\BOOT\OS2CDROM.DMD /Q   <---- In Warp
  1582.     
  1583. OS/2 CD-ROM driver used on many, but not all CD-ROM's.
  1584.  
  1585. DEVICE=C:\OS2\MDOS\VW32S.SYS
  1586.  
  1587. WIN32 program support driver.
  1588.  
  1589. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1590.  
  1591. This command prepares your monitor to display information based upon the
  1592. CODEPAGE specification.  VIOTBL.DCP is the file that contains the video fonts
  1593. for displaying characters for each of the CODEPAGES supported by OS/2.  See
  1594. the CODEPAGE command line below.
  1595.  
  1596. DEVICE=C:\OS2\MDOS\VVGA.SYS 
  1597.  
  1598. Your CONFIG.SYS file will contain various device drivers for various devices
  1599. based upon your systems hardware configuration.  This device driver for
  1600. supporting VGA video cards in DOS sessions.
  1601.  
  1602. SET VIDEO_DEVICES=VIO_SVGA
  1603. SET VIO_SVGA=DEVICE(BVHVGA, BVHSVGA)
  1604. DEVICE=C:\OS2\MDOS\VSVGA.SYS
  1605.       
  1606. Your CONFIG.SYS file will contain various device drivers for various devices
  1607. based upon your systems hardware configuration.  These device driver are for
  1608. a SVGA video card.
  1609.  
  1610. DEVICE=C:\OS2\POINTDD.SYS 
  1611. DEVICE=C:\OS2\BOOT\POINTDD.SYS    <---- In Warp
  1612.  
  1613. Provides mouse-pointer draw support.  Text modes 0, 1, 2, 3, and 7 and
  1614. graphic modes D, E, F, and 10 are supported.  For graphic modes D, E, F, and
  1615. 10, the correct graphic device driver must also be installed. 
  1616.  
  1617. <<=WARNING=>> In order for MOUSE.SYS to work effectively, this driver must be
  1618. loaded by OS/2.  Do not remove it from your CONFIG.SYS file.
  1619.  
  1620. DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  1621. DEVICE=C:\OS2\BOOT\MOUSE.SYS SERIAL=COM1 QSIZE=10  <-- In Warp
  1622.  
  1623. Lets you use a mouse or track ball.  This line also identifies the type of
  1624. mouse you have and which COM port it is on.  QSIZE is a number from 1 to 100
  1625. which indicates how many mouse actions are to be saved when you execute mouse
  1626. actions faster than your system can handle them.  There is also a RELAXED
  1627. parameter which you would place after QSIZE.  It can be used with any mouse
  1628. when the pointer is jumping randomly about the screen.  IBM does not suggest
  1629. you use this parameter unless you are experiencing this problem.
  1630.  
  1631. <<=NOTE=>> The MOUSE.SYS statement must come before COM.SYS because COM.SYS
  1632. will take over any unused COM port.  If COM.SYS takes over the COM ports
  1633. before MOUSE.SYS is loaded, MOUSE.SYS will not have any COM ports available,
  1634. thus no mouse support.
  1635.  
  1636. DEVICE=C:\OS2\COM.SYS
  1637. DEVICE=C:\OS2\BOOT\COM.SYS        <---- In Warp
  1638.  
  1639. Lets you use the communications ports COM1 and COM2.  If you want to use COM3
  1640. or COM4 or change the IRQ of any COM port, see <<=TIP=>> below.  This line
  1641. MUST appear after any driver that uses a communications port.  Use COM02.SYS
  1642. for IBM PS/2 model 90 and 95.
  1643.  
  1644. <<=TIP=>> There are two very good replacement drivers for COM.SYS\VCOM.SYS
  1645. called SIO.SYS\VSIO.SYS.  It can be obtained on most OS/2 BBSs.  If you
  1646. utilize communications software on a regular basis at high speeds (e.g.
  1647. 14,400), I recommend you consider SIO.SYS.  Replace VCOM.SYS with VSIO.SYS
  1648. which comes with SIO.SYS.  SIO.SYS and VSIO.SYS are Shareware, not Freeware.
  1649. Register them if you use them!
  1650.  
  1651. <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with IRQ 4 and 2E8
  1652. with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3) to the DEVICE line, e.g.
  1653. DEVICE=C:\OS2\COM.SYS (3,3E8,4) (4,2E8,3).  You can also use this method to
  1654. change a COM ports assigned IRQ. 
  1655.  
  1656. DEVICE=C:\OS2\COM02.SYS
  1657. DEVICE=C:\OS2\BOOT\COM02.SYS        <---- In Warp
  1658.  
  1659. For IBM PS/2 model 90 & 95 only.
  1660.  
  1661. Lets you use the communications ports COM1 and COM2.  If you want to use COM3
  1662. or COM4 or change the IRQ of any COM port, see <<=TIP=>> below.  This line
  1663. MUST appear after any driver that uses a communications port.
  1664.  
  1665. <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with IRQ 4 and 2E8
  1666. with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3) to the DEVICE line, e.g.
  1667. DEVICE=C:\OS2\COM02.SYS (3,3E8,4) (4,2E8,3).  You can also use this method to
  1668. change a COM ports assigned IRQ. 
  1669.  
  1670. DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1671.  
  1672. Lets you use the communications ports for DOS and Windows sessions.  Must
  1673. appear after the COM.SYS driver.  
  1674.  
  1675. <<=NOTE=>> If you are using COM3 and/or COM4, add the appropriate parameters
  1676. to the COM.SYS line above only.  It is not necessary to add any parameters to
  1677. this line.  VCOM.SYS inherits its parameters from the COM.SYS line.
  1678.  
  1679. <<=TIP=>> See TIP under DEVICE=C:\OS2\COM.SYS regarding SIO.SYS.
  1680.  
  1681. DEVICE=C:\SIO.SYS
  1682. DEVICE=C:\VSIO.SYS
  1683.       
  1684. Excellent replacement drivers for COM.SYS and VCOM.SYS.  If you utilize
  1685. communications software on a regular basis at high speeds (e.g. 14,400), then
  1686. these two drivers are the way to go.  Be sure you have REM'd out COM.SYS and
  1687. VCOM.SYS when using.  SIO.SYS and VSIO.SYS are Shareware, not Freeware.
  1688. Register them if you use them!
  1689.  
  1690. DEVICE=C:\MMOS2\MVPRODD.SYS /I12 /D3  /N:PAS161$
  1691. DEVICE=C:\MMOS2\AUDIOVDD.SYS PAS161$
  1692.    
  1693. These two drivers are for MediaVision's ProAudio Spectrum sound card.  The
  1694. first driver is set for IRQ 12, DMA 3.
  1695.  
  1696. DEVICE=C:\MMOS2\SB16D2.SYS 1 1 5 5 220 4 330 /N:SBAUD1$ /Q
  1697. DEVICE=C:\MMOS2\AUDIOVDD.SYS SBAUD1$
  1698.  
  1699. These two drivers are for Sound Blaster 16 sound card.  The settings shown
  1700. are port 220, MIDIPort 330, IRQ 5, low DMA 1, high DMA 5.
  1701.  
  1702. DEVICE=C:\OS2\MDOS\ANSI.SYS  
  1703.  
  1704. This is the traditional DOS command most are familiar with.  It only affects
  1705. DOS sessions.  This line is not added to your CONFIG.SYS file by default.  If
  1706. you want it, you need to add it.
  1707.  
  1708. OS/2 sessions have ANSI support by default.  If you are unsure if ANSI is on
  1709. or off in an OS/2 session, go to an OS/2 command prompt and type ANSI.  You
  1710. will get a message like:  "ANSI extended screen and keyboard control is on."
  1711. For an OS/2 session, turn ANSI off or on by typing ANSI OFF or ANSI ON at an
  1712. OS/2 command prompt.
  1713.  
  1714. SET ETC=C:\TCPI\ETC
  1715. SET TMP=C:\TCPIP\TMP
  1716. DEVICE=C:\TCPIP\BIN\INET.SYS
  1717. DEVICE=C:\TCPIP\BIN\IFNDISNL.SYS
  1718. DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  1719. DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  1720. RUN=C:\TCPIP\BIN\CNTRL.EXE
  1721. RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  1722.  
  1723. Provides TCP/IP support for Warp's InterNet tools provided in the Bonus Pack.
  1724.  
  1725. <<=TIP=>> If you don't need TCP/IP support in DOS sesions, and you don't if
  1726. you are using the Bonus Pack tools, REM the following lines:
  1727.  
  1728.    DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  1729.    DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  1730.    RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  1731.  
  1732. DEVICE=C:\OS2\TOUCH.SYS
  1733.  
  1734. (From OS/2s online documentation)
  1735.  
  1736. Implements support for touch devices.  For a touch device to be effectively
  1737. used, the POINTDD.SYS device driver and appropriate mouse device-driver
  1738. support must be loaded. In addition, these statements must be included in the
  1739. CONFIG.SYS file in the following order: 
  1740.  
  1741.  o  A device-dependent statement that gives the name of the file containing
  1742.      the information for the touch device you use. 
  1743.  
  1744.  o  A device-independent statement that identifies the touch device to
  1745.      TOUCH.SYS
  1746.   
  1747. If during installation, OS/2 detects a touch device installed on your system,
  1748. the Install program automatically loads the required device-driver support
  1749. necessary to enable the touch device.  The touch device shares the auxiliary
  1750. device (mouse) port on the system with the mouse by allowing the mouse to
  1751. connect to the touch device, which is then connected to the system. 
  1752.  
  1753. The Install program automatically adds the following statements to the
  1754. CONFIG.SYS file: 
  1755.  
  1756.  DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  1757.  DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  1758.  RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  1759.  DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  1760.   
  1761. "x" is 1 or 2 depending on the bus architecture of your system.  TOUCO21D.BIN
  1762. is the touch-device microcode binary file and TOUCH.INI is a text file
  1763. containing default parameter settings.
  1764.  
  1765. The RUN=CALIBRAT.EXE statement is to activate the Calibration program.  This
  1766. program performs the dual actions of downloading calibration-constant data to
  1767. the touch device each time the system is started, and enabling recalibration
  1768. of the touch device at initial setup, and when the device is moved to a new
  1769. location. 
  1770.  
  1771. To recalibrate the touch device, enter the following at an OS/2 command
  1772. prompt: 
  1773.  
  1774.   x:           (where "x" is your OS/2 boot drive.)
  1775.   CD \OS2
  1776.   CALIBRAT -U
  1777.  
  1778. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  1779. DEVICE=C:\OS2\PDITOU01.SYS
  1780. DEVICE=C:\OS2\PDITOU02.SYS
  1781.  
  1782. See DEVICE=C:\OS2\TOUCH.SYS
  1783.  
  1784. DEVICE=C:\OS2\LOG.SYS
  1785.  
  1786. This optional device driver installs OS/2s error log file.  If you want a log
  1787. of errors that occur on your system, then add this and the next line to your
  1788. CONFIG.SYS file.  If you are interested in such things, you may wish to play
  1789. with it, but be forewarned, the error log information is cryptic and
  1790. incomplete.  See note below.  To learn what these codes mean, you need to
  1791. have IBMs Systems Network Architecture Formats (GA27-3136-12) or, for a
  1792. reasonable overview, get OS/2 2.1 Unleashed, 1993, SAMS Publishing.
  1793.  
  1794. The switch /E:nn sets the size of the error log buffer.  The range is from
  1795. 4kb to 64kb with 8kb as the default.  
  1796.  
  1797. You will get a short and quick message during boot up indicating that Logging
  1798. has been installed and what the buffer size is.
  1799.  
  1800. <<=NOTE=>> LOG.SYS has its limitations.  It will not log an application error
  1801. unless the application has be written to make use of LOG.SYS.  Some routine
  1802. system errors will not log either because OS/2 opens an error message box on
  1803. screen to report these.
  1804.  
  1805. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\LOGFILE.DAT /W:16
  1806.  
  1807. This RUN command starts the logging process and must appear AFTER you have
  1808. installed the LOG.SYS driver noted in the CONFIG.SYS line above.  The two
  1809. switches are:
  1810.  
  1811.   /E:path\filename  This is the path and file name of the test file where the
  1812.       errors will be logged.  You can place it anywhere you want and call it
  1813.       anything you wish.
  1814.  
  1815.       NOTE:  Like the OS/2 INI files, this file is "locked" and you will not
  1816.               be able to access it with your standard text editor or the OS/2
  1817.               System Editor.  You will get a "violation error".  The Enhanced
  1818.               Editor will open the file.
  1819.  
  1820.   /W:nn  This is the size of the file named with the /E switch.  The default
  1821.       size is 64k, but with this switch you can set the value from 4k to 64k.
  1822.       I've set the file size at 16k in the example line above.
  1823.  
  1824. <<=NOTE=>> Use SYSLOG.EXE from an OS/2 command line prompt to view your log
  1825. file.
  1826.  
  1827. CODEPAGE=437,850
  1828.  
  1829. Lets you use the alphabet of various countries and languages.  The syntax is
  1830. CODEPAGE=ppp,sss, where ppp is the number of the primary national alphabet to
  1831. be used and sss is a secondary alphabet number.  From an OS/2 command line,
  1832. you can use the CHCP command to switch between these two code pages.  This
  1833. can be useful in order to type, display or print data in a different language
  1834. from the version installed.  CHCP can be used either without a parameter to
  1835. query the current code page, or with one parameter in order to switch between
  1836. primary and secondary code pages.  CHCP cannot be used to change to a code
  1837. page not defined in the CODEPAGE= CONFIG.SYS line.
  1838.    
  1839. 437=US English alphabet and 850=multinational alphabet.  The multinational
  1840. alphabet contains most of the accented letters used in various European
  1841. languages.  Several other alphabets that can be supported by your version of
  1842. OS/2.  See Table 6.0.  
  1843.  
  1844. <<=WARNING=>> Japan, Korean and Chinese require a special version of OS/2 and
  1845. special hardware.
  1846.  
  1847. <<=WARNING=>> The choice of code page is made at installation time and should
  1848. only be changed by using Selective Install. 
  1849.  
  1850. <<=NOTE=>> If there is not a CODEPAGE statement in your CONFIG.SYS, your
  1851. keyboard will use an alphabet based on the COUNTRY statement found earlier in
  1852. your CONFIG.SYS, but your screen and printer will use their built in defaults.
  1853.  
  1854.  ================== Table 6.0 =====================
  1855.  
  1856.    COUNTRY                     PRIMARY      SECONDARY   
  1857.                                CODE PAGE    CODE PAGE   
  1858.    Arabic-speaking             864          850         
  1859.    Asia (English)              437          850         
  1860.    Australia (English)         437          850         
  1861.    Belgium                     850          437         
  1862.    Canada (French)             863          850         
  1863.    Czechoslovakia              852          850         
  1864.    Denmark                     850          n/a         
  1865.    Finland                     850          437         
  1866.    France                      437          850         
  1867.    Germany                     850          437         
  1868.    Hebrew-speaking             862          850         
  1869.    Hungary                     852          850         
  1870.    Iceland                     850          861         
  1871.    Italy                       437          850         
  1872.    Japan                       932          437, 850    
  1873.    Korea                       934          437, 850    
  1874.    Latin America               437          850         
  1875.    Netherlands                 850          437         
  1876.    Norway                      850          n/a         
  1877.    Peoples Republic of China   938          437, 850    
  1878.    Poland                      852          850         
  1879.    Portugal                    850          860         
  1880.    Spain                       850          437         
  1881.    Sweden                      850          437         
  1882.    Switzerland (French)        850          437         
  1883.    Switzerland (German)        850          437         
  1884.    Taiwan                      437          850         
  1885.    Turkey                      857          850         
  1886.    United Kingdom              437          850
  1887.    United States               437          850       
  1888.    Yugoslavia                  852          850         
  1889.  ==================================================
  1890.  
  1891. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1892.  
  1893. Tells the keyboard which international character set to use and where to find
  1894. the file KEYBOARD.DCP which translates keystrokes.  The syntax is ...
  1895. DEVINFO=KBD,cc,DRIVE,PATH,FILENAME.  The parameter cc equals the character
  1896. set to be used, e.g. US = United States.  See Table 7.0 for character set
  1897. codes.        
  1898.  
  1899.  =============== Table 7.0 ================
  1900.  
  1901.    LANGUAGE                   COUNTRY CODE    
  1902.    Arabic                     AR              
  1903.    Belgian                    BE              
  1904.    Canadian French            CF              
  1905.    Czech/Czech                CS243           
  1906.    Czech/Slovak               CS245           
  1907.    Danish                     DK              
  1908.    Dutch                      NL              
  1909.    Finnish                    SU              
  1910.    French                     FR              
  1911.    German                     GR              
  1912.    Hebrew                     HE              
  1913.    Hungarian                  HU              
  1914.    Icelandic                  IS              
  1915.    Italian                    IT              
  1916.    Latin American             LA              
  1917.    Norwegian                  NO              
  1918.    Polish                     PL              
  1919.    Portuguese                 PO              
  1920.    Spanish                    SP              
  1921.    Swedish                    SV              
  1922.    Swiss (French)             SF              
  1923.    Swiss (German)             SG              
  1924.    Turkish                    TR              
  1925.    United Kingdom             UK              
  1926.    United States              US              
  1927.    Yugoslavian                YU              
  1928.  ==========================================
  1929.  
  1930. SET ZOCDEVICE=COM4
  1931.  
  1932. Command used by ZOC, the excellent OS/2 communications Shareware program from
  1933. Germany.
  1934.  
  1935. DEVICE=C:\OS2\VDISK.SYS 512
  1936.  
  1937. As in DOS, this driver installs a RAM disk.  In this example, the RAM disk is
  1938. 512k with the sectors and directories parameters set at the default level
  1939. (64-byte sectors and 64 directory entries).  With DOS, a RAM disk could
  1940. significantly improve system performance, but because OS/2 handles your
  1941. memory far more efficiently than DOS and has its own sophisticated caching
  1942. routines, using a RAM disk is not recommended.   
  1943.  
  1944. <<=CAUTION=>> Because a RAM disk takes available memory away from OS/2, you
  1945. may negatively impact system performance on systems with less than 12MB of
  1946. RAM.  Unless you have lots of RAM or have a very specific need, don't install
  1947. a RAM disk.
  1948.  
  1949. <<=NOTE=>> If you do install VDISK.SYS and you also have EXTDSKDD.SYS
  1950. installed, VDISK.SYS much be placed after EXTDSKDD.SYS in your CONFIG.SYS
  1951. file.  Check your on-line Command Reference for information on EXTDSKDD.SYS
  1952.  
  1953. DEVICE=C:\OS2\MDOS\VNPX.SYS
  1954.  
  1955. This device driver works with your systems math coprocessor.  Some have
  1956. suggested that if you add it to your CONFIG.SYS you will see an enhancement
  1957. in your systems performance.  Not so.  There is no reason for it to be added
  1958. to your CONFIG.SYS file.  IF YOU HAVE A MATH COPROCESSOR, OS/2 WILL LOAD THIS
  1959. DRIVER AUTOMATICALLY.  If you add it to your CONFIG.SYS file, a second copy
  1960. of the driver will be loaded.  In doing so, many have reported that no DOS
  1961. programs would run.  DO NOT ADD THIS STATEMENT TO YOUR CONFIG.SYS FILE.                                                       
  1962.                                                                     
  1963. NOVELL NETWARE NETWORK SUPPORT.                                  
  1964.  
  1965. Novell's NetWare is the most popular PC Network software around today.  We
  1966. use it at work and I've used our CONFIG.SYS file entries as the basis for
  1967. this section of information.   
  1968.  
  1969. <<=NOTE=>> I'm not very knowledgeable about networks, so if someone would
  1970. like to expand on this information and send it to me, I'd love to give you
  1971. credit and include it here.
  1972.  
  1973. REM --- NetWare Requester statements BEGIN ---
  1974.  
  1975. DEVICE=C:\NETWARE\LSL.SYS
  1976.    
  1977. Loads Link support Layer driver.  It is the lowest layer in the Novell Open
  1978. Data Link Interface model and is required at all times for the requester to
  1979. be active.
  1980.  
  1981. RUN=C:\NETWARE\DDAEMON.EXE
  1982.  
  1983. A daemon is a background process that usually carries out administrative
  1984. tasks for the system without you knowing it.  This "daemon" is required for
  1985. the requester to be active.
  1986.  
  1987. DEVICE=C:\NETWARE\TOKEN.SYS
  1988.  
  1989. This line differs depending on the network board you have.
  1990.  
  1991. DEVICE=C:\NETWARE\ROUTE.SYS
  1992.  
  1993. No information available.
  1994.  
  1995. DEVICE=C:\NETWARE\IPX.SYS
  1996.  
  1997. Provides Novell IPX protocol support and is required for access to a NetWare
  1998. server.
  1999.  
  2000. DEVICE=C:\NETWARE\SPX.SYS
  2001.  
  2002. Provides Novell SPX protocol support.  It is my understanding that this
  2003. command is required for some Novell printing utilities, but is optional in
  2004. most cases.
  2005.  
  2006. RUN=C:\NETWARE\SPDAEMON.EXE
  2007.  
  2008. Loads a daemon process that handles SPX packets.
  2009.  
  2010. REM DEVICE=C:\NETWARE\NMPIPE.SYS
  2011.  
  2012. Loads the support for client-only Named Pipes support.
  2013.  
  2014. REM DEVICE=C:\NETWARE\NPSERVER.SYS
  2015.  
  2016. Loads support for your workstation to function as a Named Pipes server.
  2017.  
  2018. REM RUN=C:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
  2019.  
  2020. This line is required for either the client or the server NetBIOS support to
  2021. be active and is a daemon program that is part of the Named Pipes support.
  2022.  
  2023. DEVICE=C:\NETWARE\NWREQ.SYS
  2024.  
  2025. This is the CORE REQUESTER MODULE.  This line must follow any lines that
  2026. support IPX, SPX, or Named Pipes.
  2027.  
  2028. IFS=C:\NETWARE\NWIFS.IFS
  2029.  
  2030. This installed the networks Installable File System.  This IFS enables OS/2
  2031. to see the network drives just the same as local drives.
  2032.  
  2033. RUN=C:\NETWARE\NWDAEMON.EXE
  2034.  
  2035. Another daemon program, but I'm not sure for which process.
  2036.  
  2037. DEVICE=C:\NETWARE\NETBIOS.SYS
  2038.  
  2039. Loads support for the NETBIOS protocol.
  2040.  
  2041. RUN=C:\NETWARE\NBDAEMON.EXE
  2042.  
  2043. Loads the NETBIOS daemon process.
  2044.  
  2045. DEVICE=C:\NETWARE\VIPX.SYS
  2046.  
  2047. Loads support for multiple virtual DOS machine support.  It is required both
  2048. to have multiple DOS boxes on the network and to run the NetWare DOS based
  2049. utilities.
  2050.  
  2051. DEVICE=C:\NETWARE\VSHELL.SYS
  2052.  
  2053. Loads the network shell.  It is automatically used for all DOS and WIN-OS/2
  2054. sessions that require it.
  2055.  
  2056. REM --- NetWare Requester statements END ---
  2057.  
  2058. END OF CONFIG.SYS FILE DESCRIPTION 
  2059.  
  2060.  
  2061. OBSCURE CONFIG.SYS SETTINGS. 
  2062.  
  2063. What follows are some very obscure CONFIG.SYS settings.  They are here only
  2064. for informational purposes.  Unless you have a very specific need and know
  2065. what you're doing, please don't experiment with these.
  2066.  
  2067. SET SHELLEXCEPTIONHANDLER=OFF
  2068.                             
  2069. The WpS has its own exception handling routines which allow it to recover
  2070. from most errors, but when programming your own objects, you want to see all
  2071. errors as they occur.  You can turn WpS "exception handling" off with this
  2072. command.  Could be useful when debugging a Workplace Shell object.
  2073.  
  2074. SET OBJECTSNOOZETIME=45                                  
  2075.  
  2076. Useful when programming certain types of object DLLs.  The default setting
  2077. for the snooze time is 90 seconds.  Unless you are programming your own
  2078. Workplace Shell objects, you should not change the default setting.
  2079.  
  2080. SET SHAPIEXCEPTIONHANDLER=OFF                     
  2081.  
  2082. This command disables the WpS API exception handler, and all WpS exceptions
  2083. are handled by OS/2.
  2084.  
  2085. SET VIDEO_APERTURE=xxx
  2086.  
  2087. This command allows you to set the address for video memory refresh buffers,
  2088. where xxx is a hexadecimal number.
  2089.  
  2090. SUPPRESSPOPUPS=x
  2091.  
  2092. Use SUPRESSPOPUPS to suppress the popup box display of trap information
  2093. messages and logs the trap information to the file POPUPLOG.OS2 in the root
  2094. directory of the drive specified by "x".
  2095.   
  2096. <<=NOTE=>> The log file name cannot be overridden.
  2097.  
  2098. REIPL=ON
  2099.  
  2100. This command automatically restarts the system when a system trap or internal
  2101. processing error occurs.  Parameter is ON or OFF.  Default is OFF.
  2102.   
  2103. TIMESLICE=128,256
  2104.  
  2105. This command allows you to manually control the minimum and maximum amount of
  2106. processor time any thread can receive at once.  The syntax is TIMESLICE=x,y
  2107. where x is the minimum time slice (in milliseconds and must be at least 32)
  2108. and where y is the maximum length (must be less than 65536).
  2109.  
  2110. <<=TIP=>> OS/2 handles time slicing dynamically.  This means that the system
  2111. is adjusting the time slice values based on the actual processes active on
  2112. the system as the workload changes.  Therefore, it is best not to attempt to
  2113. manually set TIMESLICE.  OS/2 can handle this process far better than most of
  2114. us can.
  2115.  
  2116. TRACE=ON
  2117.  
  2118. The system trace facility is used to record a sequence of system events,
  2119. function calls, or data.  The record is usually produced for program
  2120. debugging purposes.  After the trace data is recorded, the System Trace
  2121. Formatter is used to retrieve it from the system trace buffer (see TRACEBUF
  2122. below) and format the data to either your display, printer, or to a file.
  2123. Start tracking system problems by turning TRACE on which will establish a 4KB
  2124. default buffer.  (You can increase this using the command TRACEBUF) to store
  2125. tracing data.  You can also start TRACE from an OS/2 command prompt.
  2126.  
  2127. <<=NOTE=>> You can turn TRACE=ON and then set TRACE=OFF for major or minor
  2128. codes.  For example, TRACE=OFF 24,50,98
  2129.  
  2130. TRACEBUF=x
  2131.  
  2132. This command sets the size of the trace buffer.  If any valid TRACE statement
  2133. is in your CONFIG.SYS, the default size of the trace buffer will be 4KB.  You
  2134. can modify this size with the TRACEBUF command.  Maximum size is 63KB.  "x"
  2135. is a specific number from 1 to 63, representing a multiple of 1024 bytes.
  2136.  
  2137. TRAPDUMP=xx,d
  2138.  
  2139. Parameters are:  OFF,drive letter
  2140.                  ON,drive letter
  2141.                  R0,drive letter
  2142.  
  2143. Indicates when a stand alone dump is to be taken and where the dump is to be
  2144. placed.  The default value is OFF and the default drive is "A".
  2145.  
  2146. If you are sending a memory dump to hard disk, you must first create a FAT
  2147. partition labeled SADUMP and give it a size greater than the amount of
  2148. physical memory in your system.  The drive you specify in the TRAPDUMP
  2149. statement must contain the SADUMP partition.  Any existing data in this
  2150. partition will be overwritten.  The system will restart after the TRAPDUMP
  2151. process has been completed.
  2152.  
  2153. <<=NOTE=>> If REIPL=ON is specified in the CONFIG.SYS file, the system will
  2154. restart automatically and no dump will be taken when a system trap or
  2155. internal processing error occurs.
  2156.  
  2157. Luca Regoli, Societa' Italiana Autori Editori, provides the following
  2158. information on this command.
  2159.  
  2160. "This way whenever a trap occurs you don't get anything on the screen.  The
  2161. PC beeps and [responds] as if you had depressed CTRL+ALT+NUMLOCK / NUMLOCK."
  2162.  
  2163. "Not very useful though I don't know how to get traps information from the
  2164. dump disk (and don't want to download all 20Mb dump of memory any time I get
  2165. a trap)."
  2166.  
  2167. DUMPPROCESS=x
  2168.  
  2169. Activates the Dump Process.  Any application process that traps will cause a
  2170. process dump.  The information will be written to a dump file named PDUMP.xxx
  2171. where xxx is an index that is incremented each time a new process dump is
  2172. created.  This dump file resides in the root directory of drive specified in
  2173. "x".    
  2174.                                                                        
  2175. PROTECT16                                                            
  2176.  
  2177. Haven't found out about this one yet.  Comments?
  2178.  
  2179.  
  2180. SAMPLE CONFIG.SYS FILES.
  2181.  
  2182. FILE FOR CLONE WITH 8MB OF RAM AND VGA RUNNING ONLY HPFS
  2183.  
  2184.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2   (not needed in Warp)
  2185.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1   (not needed in Warp)
  2186.  IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 /AUTOCHECK:C
  2187.  PROTSHELL=C:\OS2\PMSHELL.EXE
  2188.  SET USER_INI=C:\OS2\OS2.INI
  2189.  SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  2190.  SET OS2_SHELL=C:\OS2\CMD.EXE
  2191.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  2192.  SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  2193.  SET RESTARTOBJECTS=YES
  2194.  SET COMSPEC=C:\OS2\CMD.EXE
  2195.  LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  2196.  SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  2197.       C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  2198.  SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  2199.       C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  2200.  SET PROMPT=$E[1;33m[$p]$g
  2201.  SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  2202.  SET GLOSSARY=C:\OS2\HELP\GLOSS;
  2203.  SET DIRCMD=/O /P
  2204.  SET IPF_KEYS=SBCS                        (New with version 2.1)
  2205.  PRIORITY_DISK_IO=YES
  2206.  FILES=20
  2207.  DEVICE=C:\OS2\TESTCFG.SYS
  2208.  DEVICE=C:\OS2\DOS.SYS
  2209.  DEVICE=C:\OS2\PMDD.SYS
  2210.  BUFFERS=50
  2211.  IOPL=YES
  2212.  REM DISKCACHE=1024,LW,32,AC:C
  2213.  RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  2214.  MAXWAIT=2
  2215.  MEMMAN=SWAP,PROTECT
  2216.  SWAPPATH=C:\OS2\SYSTEM 512 4096
  2217.  BREAK=OFF
  2218.  THREADS=256
  2219.  PRINTMONBUFSIZE=2048,134,134
  2220.  COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  2221.  SET KEYS=OFF
  2222.  SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR; (new with Warp)
  2223.       C:\OS2\ETC\WPDSERV.IR;SOM.IR
  2224.  SET SOMDDIR=C:\OS2\ETC\DSOM                     (new with Warp)
  2225.  REM SET DELDIR=C:\DELETE,512;
  2226.  BASEDEV=PRINT01.SYS
  2227.  BASEDEV=IBM1FLPY.ADD
  2228.  BASEDEV=IBM1S506.ADD
  2229.  BASEDEV=OS2DASD.DMD
  2230.  SET BOOKSHELF=C:\OS2\BOOK
  2231.  SET EPMPATH=C:\OS2\APPS
  2232.  REM DEVICE=C:\OS2\APPS\SASYNCDA.SYS              (not in Warp)
  2233.  PROTECTONLY=NO
  2234.  SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  2235.  FCBS=4,2
  2236.  RMSIZE=640
  2237.  DEVICE=C:\OS2\MDOS\VEMM.SYS 
  2238.  DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  2239.  DOS=LOW,NOUMB
  2240.  DEVICE=C:\OS2\MDOS\VDPX.SYS 
  2241.  DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  2242.  DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  2243.  DEVICE=C:\OS2\MDOS\VWIN.SYS
  2244.  REM DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1)
  2245.  REM DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  2246.  REM DEVICE=C:\OS2\MDOS\VCDROM.SYS      <<-- Assumes no CD-ROM.
  2247.  DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  2248.  SET VIDEO_DEVICES=VIO_VGA
  2249.  SET VIO_VGA=DEVICE(BVHVGA)
  2250.  DEVICE=C:\OS2\MDOS\VVGA.SYS
  2251.  DEVICE=C:\OS2\POINTDD.SYS 
  2252.  DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 
  2253.  DEVICE=C:\OS2\COM.SYS 
  2254.  DEVICE=C:\OS2\MDOS\VCOM.SYS  
  2255.  CODEPAGE=437,850
  2256.  DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2257.  
  2258. FOR CLONE WITH 8MB RAM AND VGA RUNNING ONLY FAT
  2259.  
  2260. Make the following two changes in the CONFIG.SYS listing above.
  2261.  
  2262.  o  REM this line:  IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 /AUTOCHECK:C
  2263.  
  2264.  o  Remove the REM from this line:  REM DISKCACHE=1024,LW
  2265.  
  2266.  
  2267. FOR CLONE WITH 8MB RAM AND VGA RUNNING BOTH FAT AND HPFS
  2268.  
  2269. Make the following changes in the CONFIG.SYS listing above.
  2270.  
  2271.  o  Remove the REM from this line:  REM DISKCACHE=1024,LW
  2272.  
  2273.  o  Change the DISKCACHE size to 256, i.e. DISKCACHE=256,LW
  2274.  
  2275.  
  2276. FOR CLONE WITH 16MB OF RAM AND VGA RUNNING ONLY HPFS
  2277.  
  2278. Make the following changes in the CONFIG.SYS listing above.
  2279.  
  2280.  o  Increase the HPFS cache to 2048, (/CACHE:2048).
  2281.  
  2282.  o  Increase the HPFS CRECL command to 64, (/CRECL:64).
  2283.  
  2284.  o  Change BUFFERS=50 to BUFFERS=75.
  2285.  
  2286.  o  Change FILES=20 to FILES=30
  2287.  
  2288.  o  Reduce SWAP file size, i.e. SWAPPATH=C:\OS2\SYSTEM 512 2048.
  2289.  
  2290.  o  Increase your print buffer:  PRINTMONBUFSIZE=2048,134,134.
  2291.  
  2292.  
  2293. FOR CLONE WITH 4 OR 6MB OF RAM AND VGA RUNNING FAT (Never run HPFS)
  2294.  
  2295.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2  (not needed Warp)
  2296.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1  (not needed Warp)
  2297.  REM IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 /AUTOCHECK:C
  2298.  PROTSHELL=C:\OS2\PMSHELL.EXE
  2299.  SET USER_INI=C:\OS2\OS2.INI
  2300.  SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  2301.  SET OS2_SHELL=C:\OS2\CMD.EXE
  2302.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  2303.  SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  2304.  SET RESTARTOBJECTS=YES
  2305.  SET COMSPEC=C:\OS2\CMD.EXE
  2306.  LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  2307.  SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  2308.       C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  2309.  SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  2310.       C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  2311.  SET PROMPT=$E[1;33m[$p]$g
  2312.  SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  2313.  SET GLOSSARY=C:\OS2\HELP\GLOSS;
  2314.  SET DIRCMD=/O /P
  2315.  SET IPF_KEYS=SBCS                        (New with version 2.1)
  2316.  PRIORITY_DISK_IO=YES
  2317.  FILES=20
  2318.  DEVICE=C:\OS2\TESTCFG.SYS
  2319.  DEVICE=C:\OS2\DOS.SYS
  2320.  DEVICE=C:\OS2\PMDD.SYS
  2321.  BUFFERS=20
  2322.  IOPL=YES
  2323.  DISKCACHE=64,LW,12,AC:C
  2324.  MAXWAIT=2
  2325.  MEMMAN=SWAP,PROTECT
  2326.  SWAPPATH=C:\OS2\SYSTEM 512 6144
  2327.  BREAK=OFF
  2328.  THREADS=128
  2329.  PRINTMONBUFSIZE=134,134,134
  2330.  COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  2331.  SET KEYS=OFF
  2332.  SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR; (new with Warp)
  2333.       C:\OS2\ETC\WPDSERV.IR;SOM.IR
  2334.  SET SOMDDIR=C:\OS2\ETC\DSOM                     (new with Warp)
  2335.  REM SET DELDIR=C:\DELETE,512;
  2336.  BASEDEV=PRINT01.SYS
  2337.  BASEDEV=IBM1FLPY.ADD
  2338.  BASEDEV=IBM1S506.ADD
  2339.  BASEDEV=OS2DASD.DMD
  2340.  SET BOOKSHELF=C:\OS2\BOOK
  2341.  SET EPMPATH=C:\OS2\APPS
  2342.  REM DEVICE=C:\OS2\APPS\SASYNCDA.SYS    (not in Warp)
  2343.  PROTECTONLY=NO
  2344.  SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  2345.  FCBS=4,2
  2346.  RMSIZE=512
  2347.  DEVICE=C:\OS2\MDOS\VEMM.SYS 
  2348.  DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  2349.  DOS=LOW,NOUMB
  2350.  DEVICE=C:\OS2\MDOS\VDPX.SYS 
  2351.  DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  2352.  DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  2353.  DEVICE=C:\OS2\MDOS\VWIN.SYS
  2354.  REM DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1) 
  2355.  REM DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  2356.  REM DEVICE=C:\OS2\MDOS\VCDROM.SYS      <-- Assumes no CD-ROM.
  2357.  DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  2358.  SET VIDEO_DEVICES=VIO_VGA
  2359.  SET VIO_VGA=DEVICE(BVHVGA)
  2360.  DEVICE=C:\OS2\MDOS\VVGA.SYS
  2361.  DEVICE=C:\OS2\POINTDD.SYS 
  2362.  DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1                                      
  2363.  DEVICE=C:\OS2\COM.SYS                                                    
  2364.  DEVICE=C:\OS2\MDOS\VCOM.SYS                                              
  2365.  CODEPAGE=437,850
  2366.  DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2367.  
  2368.  
  2369. HOW TO RESTORE A DAMAGED CONFIG.SYS FILE FROM A BACKUP COPY.
  2370.  
  2371.  1.  Boot OS/2 from the OS/2 Installation Disk.
  2372.  2.  Insert OS/2 Disk #1 when asked.
  2373.  3.  Press the ESC key when you get the first text screen.  By doing this you
  2374.       will be put into OS/2s command line mode.
  2375.  4.  Assuming that your backup copy of CONFIG.SYS is in the root directory of
  2376.       "C" drive and is named CONFIG.SAV, enter the following command:
  2377.          COPY C:\CONFIG.SAV C:\CONFIG.SYS
  2378.       Press the ENTER key.
  2379.  5.  Remove OS/2 Disk #1 and reboot the system.
  2380.  
  2381. What if you didn't make a backup copy?  IBM thought about you.  When OS/2 was
  2382. first installed on your system, the installation program made a backup copy
  2383. of your original CONFIG.SYS file.  It stored this file in C:\OS2\INSTALL.  To
  2384. restore from this file follow the same steps above, EXCEPT, in step #4 enter
  2385. the following command instead of the one shown:
  2386.  
  2387.         COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  2388.    
  2389. <<=TIP=>> Replace the CONFIG.SYS file saved by the OS/2 installation program
  2390. in the INSTALL directory with your most current version, thus allowing you to
  2391. restore from it.  If you are viewing this information using CNFGINFO.EXE, the
  2392. Backup option is set to do this for you.
  2393.  
  2394. <<=NOTE=>> In OS/2 Warp, IBM provides an archive feature which can be
  2395. activated by opening your Desktop settings, click on the Archive Tab, and
  2396. then click on "Create archive at every system restart".  With this feature
  2397. activated, you can simply press Alt+F1 at boot and be presented with a menu
  2398. which will allow you to boot with an alternate (backup) CONFIG.SYS file.  See
  2399. your user documentation for details.  
  2400.  
  2401.  
  2402. REXX SUPPORT FROM WITHIN THE CONFIG.SYS FILE.
  2403.  
  2404. The question of whether REXX programs can be called from within the
  2405. CONFIG.SYS file has been asked by a number of people.  Keith Medcalf's
  2406. response to the question is one of the best I've seen.  Thanks Keith!
  2407.  
  2408.  ----------------------------------------------------------------
  2409.    Date: 07-30-93, 08:06                  Number: 483                         
  2410.    From: Keith Medcalf                     Refer: 477                         
  2411.      To: Russ Williams                     Recvd: No                          
  2412.    Subj: REXX from CONFIG.SYS               Conf: Ibm.Os2se                   
  2413.  ----------------------------------------------------------------
  2414.  Wednesday July 28 1993 16:34, Russ Williams wrote to All:
  2415.  
  2416.   RW> Can anyone tell me what restrictions there are on running
  2417.   RW> REXX programs from CONFIG.SYS (via "CALL=")?  It doesn't
  2418.   RW> work for me, and the on-line help is no help.
  2419.  
  2420.  You cannot.  The DLLs required to support Rexx are not loaded until
  2421.  Presentation Manager is loaded.  If you require Rexx support earlier, look
  2422.  for a program call SRVREXX at a fine BBS near you.
  2423.  
  2424.  Adding the line RUN=SRVREXX.EXE to the CONFIG.SYS will immediately
  2425.  initialize Rexx.  You will then be able to access Rexx with or without PM
  2426.  being loaded.
  2427. -----------------------------------------------------------------
  2428.  
  2429. * Rick Meigs - rick.meigs@nwcs.org
  2430.  
  2431. ────────────────────────────────────────────────────────────────────────────
  2432.  
  2433. Auto Re-Boot on TRAP Errors
  2434. ===========================
  2435. -> Added on November 23, 1994
  2436.  
  2437. I've seen this in few places, and thought I'd share it here.  I haven't tried
  2438. it here because I don't have WARP installed yet, and I've banished all the
  2439. software and hardware that caused me traps. <G>
  2440.  
  2441. Anyway, WARP V3 has the ability to automatically re-boot on a trap error,
  2442. rather than just sitting there waiting for you to record all those neato
  2443. hexadecimal register dumps and call your IBM representative. 
  2444.  
  2445. Put these in your CONFOUND er.. CONFIG.SYS:
  2446.  
  2447.     REIPL=ON
  2448.     DUMPPROCESS=D
  2449.     SUPPRESSPOPUPS=D
  2450.  
  2451. Where D is a drive letter.  WARP will dump the registers to a file on that
  2452. drive, and then re-boot the system.
  2453.  
  2454. * Jim Whitelaw @ 1:342/42 - Starship Heart of Gold
  2455.  
  2456. ────────────────────────────────────────────────────────────────────────────
  2457.